mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 757346 followup, actually compile
This commit is contained in:
parent
90e38cb124
commit
00ede18308
@ -40,7 +40,7 @@ public:
|
||||
nsRefPtr<gfxImageSurface> imageSurface = surface->GetAsImageSurface();
|
||||
NS_ASSERTION(imageSurface, "Surface cannot be converted to a gfxImageSurface");
|
||||
#endif
|
||||
return surface;
|
||||
return surface.forget();
|
||||
}
|
||||
|
||||
already_AddRefed<gfxASurface> OptimizeImage(gfxImageSurface *aSurface,
|
||||
|
@ -709,7 +709,7 @@ gfxWindowsPlatform::CreateOffscreenSurface(const gfxIntSize& size,
|
||||
|
||||
NS_IF_ADDREF(surf);
|
||||
|
||||
return surf;
|
||||
return surf.forget();
|
||||
}
|
||||
|
||||
already_AddRefed<gfxASurface>
|
||||
|
Loading…
Reference in New Issue
Block a user