зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7759c671b8
Коммит
061772f5fa
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче