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

Unified Diff: Source/modules/webgl/WebGLContextObject.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
« no previous file with comments | « Source/modules/webgl/WebGLContextEvent.h ('k') | Source/modules/webgl/WebGLDebugRendererInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLContextObject.h
diff --git a/Source/modules/webgl/WebGLContextObject.h b/Source/modules/webgl/WebGLContextObject.h
index 8424de15663649a56fb4091f5547bf35d963838b..4a96746c2f11d7b6722ed3a16edf7668419ee91c 100644
--- a/Source/modules/webgl/WebGLContextObject.h
+++ b/Source/modules/webgl/WebGLContextObject.h
@@ -40,11 +40,11 @@ class WebGLRenderingContextBase;
// WebGLRenderingContextBase.
class WebGLContextObject : public WebGLObject {
public:
- virtual ~WebGLContextObject();
+ ~WebGLContextObject() override;
WebGLRenderingContextBase* context() const { return m_context; }
- virtual bool validate(const WebGLContextGroup*, const WebGLRenderingContextBase* context) const override final
+ bool validate(const WebGLContextGroup*, const WebGLRenderingContextBase* context) const final
{
return context == m_context;
}
@@ -56,12 +56,12 @@ public:
protected:
explicit WebGLContextObject(WebGLRenderingContextBase*);
- virtual bool hasGroupOrContext() const override final
+ bool hasGroupOrContext() const final
{
return m_context;
}
- virtual WebGraphicsContext3D* getAWebGraphicsContext3D() const override final;
+ WebGraphicsContext3D* getAWebGraphicsContext3D() const final;
private:
RawPtrWillBeMember<WebGLRenderingContextBase> m_context;
« no previous file with comments | « Source/modules/webgl/WebGLContextEvent.h ('k') | Source/modules/webgl/WebGLDebugRendererInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698