Bug 378575 - revert to image surface now that bug 383512 has landed. r+sr+a=tor

This commit is contained in:
longsonr@gmail.com 2007-09-04 02:43:09 -07:00
Родитель c0fad2e212
Коммит 22a10efbc1
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -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;