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

Unified Diff: Source/modules/webgl/WebGLSharedObject.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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/modules/webgl/WebGLSharedObject.h
diff --git a/Source/modules/webgl/WebGLSharedObject.h b/Source/modules/webgl/WebGLSharedObject.h
index e472f3deaf207b630f512d1f9fdc80a05ea68f0b..b5afe7a158d65d6f32569259793c1b52c80e0511 100644
--- a/Source/modules/webgl/WebGLSharedObject.h
+++ b/Source/modules/webgl/WebGLSharedObject.h
@@ -37,7 +37,7 @@ class WebGLRenderingContextBase;
// WebGLRenderingContexts.
class WebGLSharedObject : public WebGLObject {
public:
- virtual ~WebGLSharedObject();
+ ~WebGLSharedObject() override;
WebGLContextGroup* contextGroup() const { return m_contextGroup; }
@@ -51,7 +51,7 @@ public:
virtual bool isTexture() const { return false; }
virtual bool isTransformFeedback() const { return false; }
- virtual bool validate(const WebGLContextGroup* contextGroup, const WebGLRenderingContextBase*) const override final
+ bool validate(const WebGLContextGroup* contextGroup, const WebGLRenderingContextBase*) const final
{
return contextGroup == m_contextGroup;
}
@@ -61,12 +61,12 @@ public:
protected:
explicit WebGLSharedObject(WebGLRenderingContextBase*);
- virtual bool hasGroupOrContext() const override final
+ bool hasGroupOrContext() const final
{
return m_contextGroup;
}
- virtual WebGraphicsContext3D* getAWebGraphicsContext3D() const override final;
+ WebGraphicsContext3D* getAWebGraphicsContext3D() const final;
private:
WebGLContextGroup* m_contextGroup;
« no previous file with comments | « Source/modules/webgl/WebGLRenderingContextBase.cpp ('k') | Source/modules/webgl/WebGLVertexArrayObjectBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698