Bug 958489 - Implement base Image::GetAsSourceSurface. r=nical
Added an Image::GetAsSourceSurface to return a gfx::SourceSurface and implemented in terms of gfxPlatform::GetSourceSurfaceForSurface. Deprecated GetAsSurface.
This commit is contained in:
@@ -117,7 +117,7 @@ D3D9SurfaceImage::GetSize()
|
||||
}
|
||||
|
||||
already_AddRefed<gfxASurface>
|
||||
D3D9SurfaceImage::GetAsSurface()
|
||||
D3D9SurfaceImage::DeprecatedGetAsSurface()
|
||||
{
|
||||
NS_ENSURE_TRUE(mTexture, nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user