Bug 980272 - Make DataSourceSurfaceD2D::Map set mIsMapped. r=Bas

--HG--
extra : rebase_source : cb485b1cf09dc570fed1e495ce7bfd83b03788c8
This commit is contained in:
Jonathan Watt 2014-03-06 23:29:57 +00:00
parent 1d4cc3b29e
commit b647a37dd7

View File

@ -260,6 +260,7 @@ DataSourceSurfaceD2D::Map(MapType aMapType, MappedSurface *aMappedSurface)
aMappedSurface->mData = (uint8_t*)map.pData;
aMappedSurface->mStride = map.RowPitch;
mIsMapped = true;
return true;
}