зеркало из https://github.com/mozilla/gecko-dev.git
Bug 907254 - reftest.js doesnt need anymore to avoid using GfxInfo on B2G - r=jrmuizel
This commit is contained in:
Родитель
6d3d4149ea
Коммит
70956521e5
|
@ -538,14 +538,6 @@ function BuildConditionSandbox(aURL) {
|
|||
sandbox.smallScreen = true;
|
||||
}
|
||||
|
||||
#if REFTEST_B2G
|
||||
// XXX nsIGfxInfo isn't available in B2G
|
||||
sandbox.d2d = false;
|
||||
sandbox.azureQuartz = false;
|
||||
sandbox.azureSkia = false;
|
||||
sandbox.azureSkiaGL = false;
|
||||
sandbox.contentSameGfxBackendAsCanvas = false;
|
||||
#else
|
||||
var gfxInfo = (NS_GFXINFO_CONTRACTID in CC) && CC[NS_GFXINFO_CONTRACTID].getService(CI.nsIGfxInfo);
|
||||
try {
|
||||
sandbox.d2d = gfxInfo.D2DEnabled;
|
||||
|
@ -559,7 +551,6 @@ function BuildConditionSandbox(aURL) {
|
|||
// true if we are using the same Azure backend for rendering canvas and content
|
||||
sandbox.contentSameGfxBackendAsCanvas = info.AzureContentBackend == info.AzureCanvasBackend
|
||||
|| (info.AzureContentBackend == "none" && info.AzureCanvasBackend == "cairo");
|
||||
#endif
|
||||
|
||||
sandbox.layersGPUAccelerated =
|
||||
gWindowUtils.layerManagerType != "Basic";
|
||||
|
|
Загрузка…
Ссылка в новой задаче