Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
This commit is contained in:
@@ -227,7 +227,7 @@ BasicImageLayer::GetAsSurface(gfxASurface** aSurface,
|
||||
|
||||
gfx::IntSize dontCare;
|
||||
nsRefPtr<gfxASurface> surface = mContainer->DeprecatedGetCurrentAsSurface(&dontCare);
|
||||
*aSurface = surface.forget().get();
|
||||
surface.forget(aSurface);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user