зеркало из https://github.com/mozilla/gecko-dev.git
Don't use gfxPlatform for creating temporary surfaces in the BasicCompositor. (bug 1311770, r=mattwoodrow)
This commit is contained in:
Родитель
c9414e0688
Коммит
20b34a53e8
|
@ -571,7 +571,7 @@ BasicCompositor::DrawQuad(const gfx::Rect& aRect,
|
|||
newTransform = aTransform.As2D();
|
||||
} else {
|
||||
// Create a temporary surface for the transform.
|
||||
dest = gfxPlatform::GetPlatform()->CreateOffscreenContentDrawTarget(RoundedOut(aRect).Size(), SurfaceFormat::B8G8R8A8);
|
||||
dest = Factory::CreateDrawTarget(gfxVars::ContentBackend(), RoundedOut(aRect).Size(), SurfaceFormat::B8G8R8A8);
|
||||
if (!dest) {
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче