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

Unified Diff: Source/core/html/canvas/WebGLFramebuffer.cpp

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/core/html/canvas/WebGLFramebuffer.h ('k') | Source/core/html/canvas/WebGLGetInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLFramebuffer.cpp
diff --git a/Source/core/html/canvas/WebGLFramebuffer.cpp b/Source/core/html/canvas/WebGLFramebuffer.cpp
index 86d1664a07d82368eeace5aa2147c155e31ed855..696bb7cf61559f4bc75e6daf127f2a69be32f552 100644
--- a/Source/core/html/canvas/WebGLFramebuffer.cpp
+++ b/Source/core/html/canvas/WebGLFramebuffer.cpp
@@ -39,26 +39,26 @@ namespace {
return object ? object->object() : 0;
}
- class WebGLRenderbufferAttachment FINAL : public WebGLFramebuffer::WebGLAttachment {
+ class WebGLRenderbufferAttachment final : public WebGLFramebuffer::WebGLAttachment {
public:
static PassRefPtrWillBeRawPtr<WebGLFramebuffer::WebGLAttachment> create(WebGLRenderbuffer*);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
explicit WebGLRenderbufferAttachment(WebGLRenderbuffer*);
WebGLRenderbufferAttachment() { }
- virtual GLsizei width() const OVERRIDE;
- virtual GLsizei height() const OVERRIDE;
- virtual GLenum format() const OVERRIDE;
- virtual GLenum type() const OVERRIDE;
- virtual WebGLSharedObject* object() const OVERRIDE;
- virtual bool isSharedObject(WebGLSharedObject*) const OVERRIDE;
- virtual bool valid() const OVERRIDE;
- virtual void onDetached(blink::WebGraphicsContext3D*) OVERRIDE;
- virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
- virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
+ virtual GLsizei width() const override;
+ virtual GLsizei height() const override;
+ virtual GLenum format() const override;
+ virtual GLenum type() const override;
+ virtual WebGLSharedObject* object() const override;
+ virtual bool isSharedObject(WebGLSharedObject*) const override;
+ virtual bool valid() const override;
+ virtual void onDetached(blink::WebGraphicsContext3D*) override;
+ virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) override;
+ virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) override;
RefPtrWillBeMember<WebGLRenderbuffer> m_renderbuffer;
};
@@ -147,26 +147,26 @@ namespace {
return 0;
}
- class WebGLTextureAttachment FINAL : public WebGLFramebuffer::WebGLAttachment {
+ class WebGLTextureAttachment final : public WebGLFramebuffer::WebGLAttachment {
public:
static PassRefPtrWillBeRawPtr<WebGLFramebuffer::WebGLAttachment> create(WebGLTexture*, GLenum target, GLint level);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
WebGLTextureAttachment(WebGLTexture*, GLenum target, GLint level);
WebGLTextureAttachment() { }
- virtual GLsizei width() const OVERRIDE;
- virtual GLsizei height() const OVERRIDE;
- virtual GLenum format() const OVERRIDE;
- virtual GLenum type() const OVERRIDE;
- virtual WebGLSharedObject* object() const OVERRIDE;
- virtual bool isSharedObject(WebGLSharedObject*) const OVERRIDE;
- virtual bool valid() const OVERRIDE;
- virtual void onDetached(blink::WebGraphicsContext3D*) OVERRIDE;
- virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
- virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
+ virtual GLsizei width() const override;
+ virtual GLsizei height() const override;
+ virtual GLenum format() const override;
+ virtual GLenum type() const override;
+ virtual WebGLSharedObject* object() const override;
+ virtual bool isSharedObject(WebGLSharedObject*) const override;
+ virtual bool valid() const override;
+ virtual void onDetached(blink::WebGraphicsContext3D*) override;
+ virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) override;
+ virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) override;
RefPtrWillBeMember<WebGLTexture> m_texture;
GLenum m_target;
« no previous file with comments | « Source/core/html/canvas/WebGLFramebuffer.h ('k') | Source/core/html/canvas/WebGLGetInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698