Mark SourceRotatedBuffer methods as override to silence warnings (bug 1409871 part 22, r=nical)

MozReview-Commit-ID: 1xNF8sfXukg

--HG--
extra : rebase_source : 0f54ec0b15dcef474d06a44b38a91738f5643378
This commit is contained in:
Ryan Hunt 2017-10-20 16:32:39 -04:00
Родитель 7759c671b8
Коммит 061772f5fa
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -361,15 +361,15 @@ public:
virtual bool Lock(OpenMode aMode) override { return false; }
virtual void Unlock() override {}
virtual already_AddRefed<gfx::SourceSurface> GetSourceSurface(ContextSource aSource) const;
virtual already_AddRefed<gfx::SourceSurface> GetSourceSurface(ContextSource aSource) const override;
virtual gfx::SurfaceFormat GetFormat() const override;
virtual bool HaveBuffer() const { return !!mSource; }
virtual bool HaveBufferOnWhite() const { return !!mSourceOnWhite; }
virtual bool HaveBuffer() const override { return !!mSource; }
virtual bool HaveBufferOnWhite() const override { return !!mSourceOnWhite; }
virtual gfx::DrawTarget* GetDTBuffer() const { return nullptr; }
virtual gfx::DrawTarget* GetDTBufferOnWhite() const { return nullptr; }
virtual gfx::DrawTarget* GetDTBuffer() const override { return nullptr; }
virtual gfx::DrawTarget* GetDTBufferOnWhite() const override { return nullptr; }
private:
RefPtr<gfx::SourceSurface> mSource;