Bug 960254 - Part 3: Remove MarkDirty call to avoid confusion. r=jrmuizel

This commit is contained in:
Bas Schouten 2014-01-16 13:17:23 +01:00
parent fdb4be9e33
commit 16a272cf27
2 changed files with 0 additions and 7 deletions

View File

@ -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();

View File

@ -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;