зеркало из https://github.com/mozilla/gecko-dev.git
Bug 378575 - revert to image surface now that bug 383512 has landed. r+sr+a=tor
This commit is contained in:
Родитель
c0fad2e212
Коммит
22a10efbc1
|
@ -1359,9 +1359,8 @@ gfxASurface *
|
|||
nsSVGUtils::GetThebesComputationalSurface()
|
||||
{
|
||||
if (!mThebesComputationalSurface) {
|
||||
nsRefPtr<gfxASurface> surface =
|
||||
gfxPlatform::GetPlatform()->CreateOffscreenSurface(gfxIntSize(1, 1),
|
||||
gfxASurface::ImageFormatARGB32);
|
||||
nsRefPtr<gfxImageSurface> surface =
|
||||
new gfxImageSurface(gfxIntSize(1, 1), gfxASurface::ImageFormatARGB32);
|
||||
NS_ASSERTION(surface && !surface->CairoStatus(),
|
||||
"Could not create offscreen surface");
|
||||
mThebesComputationalSurface = surface;
|
||||
|
|
Загрузка…
Ссылка в новой задаче