зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 512454694cc4 (bug 1123080) for Windows crashtest failures.
This commit is contained in:
Родитель
27a0f36944
Коммит
3807a08ace
|
@ -1181,12 +1181,7 @@ gfxPlatform::CreateOffscreenCanvasDrawTarget(const IntSize& aSize, SurfaceFormat
|
||||||
return target.forget();
|
return target.forget();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef XP_WIN
|
|
||||||
// On Windows, the fallback backend (Cairo) should use its image backend.
|
|
||||||
return Factory::CreateDrawTarget(mFallbackCanvasBackend, aSize, aFormat);
|
|
||||||
#else
|
|
||||||
return CreateDrawTargetForBackend(mFallbackCanvasBackend, aSize, aFormat);
|
return CreateDrawTargetForBackend(mFallbackCanvasBackend, aSize, aFormat);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TemporaryRef<DrawTarget>
|
TemporaryRef<DrawTarget>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче