зеркало из https://github.com/mozilla/gecko-dev.git
Bug 757346 followup, actually compile
This commit is contained in:
Родитель
90e38cb124
Коммит
00ede18308
|
@ -40,7 +40,7 @@ public:
|
||||||
nsRefPtr<gfxImageSurface> imageSurface = surface->GetAsImageSurface();
|
nsRefPtr<gfxImageSurface> imageSurface = surface->GetAsImageSurface();
|
||||||
NS_ASSERTION(imageSurface, "Surface cannot be converted to a gfxImageSurface");
|
NS_ASSERTION(imageSurface, "Surface cannot be converted to a gfxImageSurface");
|
||||||
#endif
|
#endif
|
||||||
return surface;
|
return surface.forget();
|
||||||
}
|
}
|
||||||
|
|
||||||
already_AddRefed<gfxASurface> OptimizeImage(gfxImageSurface *aSurface,
|
already_AddRefed<gfxASurface> OptimizeImage(gfxImageSurface *aSurface,
|
||||||
|
|
|
@ -709,7 +709,7 @@ gfxWindowsPlatform::CreateOffscreenSurface(const gfxIntSize& size,
|
||||||
|
|
||||||
NS_IF_ADDREF(surf);
|
NS_IF_ADDREF(surf);
|
||||||
|
|
||||||
return surf;
|
return surf.forget();
|
||||||
}
|
}
|
||||||
|
|
||||||
already_AddRefed<gfxASurface>
|
already_AddRefed<gfxASurface>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче