Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Unified Diff: Source/core/html/canvas/WebGLSharedObject.h

Issue 131973002: Update HTML canvas classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/WebGLSharedObject.h
diff --git a/Source/core/html/canvas/WebGLSharedObject.h b/Source/core/html/canvas/WebGLSharedObject.h
index 6c33471ba7fb52b7235e0e8da1211dc32a586337..8438728f3326a5642d59b482c877b0c64d538cb3 100644
--- a/Source/core/html/canvas/WebGLSharedObject.h
+++ b/Source/core/html/canvas/WebGLSharedObject.h
@@ -43,13 +43,12 @@ public:
WebGLContextGroup* contextGroup() const { return m_contextGroup; }
virtual bool isBuffer() const { return false; }
- virtual bool isFramebuffer() const { return false; }
virtual bool isProgram() const { return false; }
virtual bool isRenderbuffer() const { return false; }
virtual bool isShader() const { return false; }
virtual bool isTexture() const { return false; }
- virtual bool validate(const WebGLContextGroup* contextGroup, const WebGLRenderingContext*) const
+ virtual bool validate(const WebGLContextGroup* contextGroup, const WebGLRenderingContext*) const OVERRIDE FINAL
{
return contextGroup == m_contextGroup;
}
@@ -59,12 +58,12 @@ public:
protected:
WebGLSharedObject(WebGLRenderingContext*);
- virtual bool hasGroupOrContext() const
+ virtual bool hasGroupOrContext() const OVERRIDE FINAL
{
return m_contextGroup;
}
- virtual GraphicsContext3D* getAGraphicsContext3D() const;
+ virtual GraphicsContext3D* getAGraphicsContext3D() const OVERRIDE FINAL;
private:
WebGLContextGroup* m_contextGroup;

Powered by Google App Engine
This is Rietveld 408576698