class GPU_EXPORT GLStateRestorerImpl : public gfx::GLStateRestorer {
public:
explicit GLStateRestorerImpl(base::WeakPtr<gles2::GLES2Decoder> decoder);
- virtual ~GLStateRestorerImpl();
+ ~GLStateRestorerImpl() override;
- virtual bool IsInitialized() OVERRIDE;
- virtual void RestoreState(const gfx::GLStateRestorer* prev_state) OVERRIDE;
- virtual void RestoreAllTextureUnitBindings() OVERRIDE;
- virtual void RestoreActiveTextureUnitBinding(unsigned int target) OVERRIDE;
- virtual void RestoreFramebufferBindings() OVERRIDE;
+ bool IsInitialized() override;
+ void RestoreState(const gfx::GLStateRestorer* prev_state) override;
+ void RestoreAllTextureUnitBindings() override;
+ void RestoreActiveTextureUnitBinding(unsigned int target) override;
+ void RestoreFramebufferBindings() override;
private:
const gles2::ContextState* GetContextState() const;