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

Unified Diff: Source/core/html/canvas/WebGLBuffer.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/WebGLBuffer.h
diff --git a/Source/core/html/canvas/WebGLBuffer.h b/Source/core/html/canvas/WebGLBuffer.h
index 6f3af50ec354c2fce36fb9cf3b411bfa84d965d8..ef5a5ddd252c1502d7d385fc8f6567aded3ea286 100644
--- a/Source/core/html/canvas/WebGLBuffer.h
+++ b/Source/core/html/canvas/WebGLBuffer.h
@@ -33,7 +33,7 @@
namespace WebCore {
-class WebGLBuffer : public WebGLSharedObject, public ScriptWrappable {
+class WebGLBuffer FINAL : public WebGLSharedObject, public ScriptWrappable {
public:
virtual ~WebGLBuffer();
@@ -47,10 +47,10 @@ public:
protected:
WebGLBuffer(WebGLRenderingContext*);
- virtual void deleteObjectImpl(GraphicsContext3D*, Platform3DObject);
+ virtual void deleteObjectImpl(GraphicsContext3D*, Platform3DObject) OVERRIDE;
private:
- virtual bool isBuffer() const { return true; }
+ virtual bool isBuffer() const OVERRIDE { return true; }
GLenum m_target;
};

Powered by Google App Engine
This is Rietveld 408576698