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

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

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/WebGLObject.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 deb25b38810f71c94c1cf9df6287319afb146769..97d676918719a49ea383c9be9012857e3e76bc80 100644
--- a/Source/core/html/canvas/WebGLFramebuffer.cpp
+++ b/Source/core/html/canvas/WebGLFramebuffer.cpp
@@ -45,7 +45,7 @@ namespace {
public:
static PassRefPtrWillBeRawPtr<WebGLFramebuffer::WebGLAttachment> create(WebGLRenderbuffer*);
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
private:
explicit WebGLRenderbufferAttachment(WebGLRenderbuffer*);
@@ -70,7 +70,7 @@ namespace {
return adoptRefWillBeNoop(new WebGLRenderbufferAttachment(renderbuffer));
}
- void WebGLRenderbufferAttachment::trace(Visitor* visitor)
+ DEFINE_TRACE(WebGLRenderbufferAttachment)
{
visitor->trace(m_renderbuffer);
WebGLFramebuffer::WebGLAttachment::trace(visitor);
@@ -153,7 +153,7 @@ namespace {
public:
static PassRefPtrWillBeRawPtr<WebGLFramebuffer::WebGLAttachment> create(WebGLTexture*, GLenum target, GLint level);
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
private:
WebGLTextureAttachment(WebGLTexture*, GLenum target, GLint level);
@@ -180,7 +180,7 @@ namespace {
return adoptRefWillBeNoop(new WebGLTextureAttachment(texture, target, level));
}
- void WebGLTextureAttachment::trace(Visitor* visitor)
+ DEFINE_TRACE(WebGLTextureAttachment)
{
visitor->trace(m_texture);
WebGLFramebuffer::WebGLAttachment::trace(visitor);
@@ -631,7 +631,7 @@ GLenum WebGLFramebuffer::getDrawBuffer(GLenum drawBuffer)
return GL_NONE;
}
-void WebGLFramebuffer::trace(Visitor* visitor)
+DEFINE_TRACE(WebGLFramebuffer)
{
#if ENABLE(OILPAN)
visitor->trace(m_attachments);
« no previous file with comments | « Source/core/html/canvas/WebGLFramebuffer.h ('k') | Source/core/html/canvas/WebGLObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698