mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 960254 - Part 3: Remove MarkDirty call to avoid confusion. r=jrmuizel
This commit is contained in:
parent
fdb4be9e33
commit
16a272cf27
@ -369,12 +369,6 @@ public:
|
||||
*/
|
||||
virtual int32_t Stride() = 0;
|
||||
|
||||
/*
|
||||
* This function is called after modifying the data on the source surface
|
||||
* directly through the data pointer.
|
||||
*/
|
||||
virtual void MarkDirty() {}
|
||||
|
||||
virtual bool Map(MapType, MappedSurface *aMappedSurface)
|
||||
{
|
||||
aMappedSurface->mData = GetData();
|
||||
|
@ -27,7 +27,6 @@ public:
|
||||
virtual IntSize GetSize() const MOZ_OVERRIDE { return mSurface->GetSize(); }
|
||||
virtual SurfaceFormat GetFormat() const MOZ_OVERRIDE { return mSurface->GetFormat(); }
|
||||
virtual bool IsValid() const MOZ_OVERRIDE { return mSurface->IsValid(); }
|
||||
virtual void MarkDirty() { mSurface->MarkDirty(); }
|
||||
|
||||
private:
|
||||
RefPtr<DataSourceSurface> mSurface;
|
||||
|
Loading…
Reference in New Issue
Block a user