mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 615316 - Part 8: Support GetAsSurface for CairoImageD3D9. r=jrmuizel a=blocking-betaN
This commit is contained in:
parent
d57c481abf
commit
6dadf14a29
@ -589,7 +589,8 @@ CairoImageD3D9::GetOrCreateTexture()
|
||||
already_AddRefed<gfxASurface>
|
||||
CairoImageD3D9::GetAsSurface()
|
||||
{
|
||||
return nsnull;
|
||||
nsRefPtr<gfxASurface> surface = mCachedSurface;
|
||||
return surface.forget();
|
||||
}
|
||||
|
||||
} /* layers */
|
||||
|
Loading…
Reference in New Issue
Block a user