mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 980272 - Make DataSourceSurfaceD2D::Map set mIsMapped. r=Bas
--HG-- extra : rebase_source : cb485b1cf09dc570fed1e495ce7bfd83b03788c8
This commit is contained in:
parent
3f1217aeee
commit
0d571066b7
@ -260,6 +260,7 @@ DataSourceSurfaceD2D::Map(MapType aMapType, MappedSurface *aMappedSurface)
|
||||
|
||||
aMappedSurface->mData = (uint8_t*)map.pData;
|
||||
aMappedSurface->mStride = map.RowPitch;
|
||||
mIsMapped = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user