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

Unified Diff: Source/core/html/canvas/WebGLProgram.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/WebGLProgram.h
diff --git a/Source/core/html/canvas/WebGLProgram.h b/Source/core/html/canvas/WebGLProgram.h
index d1742967cc5a9422c6bedf02a1d7b6581a0f3471..cf960af9286702383a22edefe418787da6e704f1 100644
--- a/Source/core/html/canvas/WebGLProgram.h
+++ b/Source/core/html/canvas/WebGLProgram.h
@@ -34,7 +34,7 @@
namespace WebCore {
-class WebGLProgram : public WebGLSharedObject, public ScriptWrappable {
+class WebGLProgram FINAL : public WebGLSharedObject, public ScriptWrappable {
public:
virtual ~WebGLProgram();
@@ -63,10 +63,10 @@ public:
protected:
WebGLProgram(WebGLRenderingContext*);
- virtual void deleteObjectImpl(GraphicsContext3D*, Platform3DObject);
+ virtual void deleteObjectImpl(GraphicsContext3D*, Platform3DObject) OVERRIDE;
private:
- virtual bool isProgram() const { return true; }
+ virtual bool isProgram() const OVERRIDE { return true; }
void cacheActiveAttribLocations(GraphicsContext3D*);
void cacheInfoIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698