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

Unified Diff: sky/engine/core/html/canvas/WebGLFramebuffer.cpp

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/html/canvas/WebGLFramebuffer.h ('k') | sky/engine/core/html/canvas/WebGLProgram.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/canvas/WebGLFramebuffer.cpp
diff --git a/sky/engine/core/html/canvas/WebGLFramebuffer.cpp b/sky/engine/core/html/canvas/WebGLFramebuffer.cpp
index 01ab82369a23e19a05fb910ba1f9012bd18efe13..d12d3ab2a63489436982fc2a3f6a70147e9646e1 100644
--- a/sky/engine/core/html/canvas/WebGLFramebuffer.cpp
+++ b/sky/engine/core/html/canvas/WebGLFramebuffer.cpp
@@ -29,6 +29,7 @@
#include "core/html/canvas/WebGLRenderingContextBase.h"
#include "platform/NotImplemented.h"
+#include "wtf/Vector.h"
namespace blink {
@@ -43,8 +44,6 @@ namespace {
public:
static PassRefPtr<WebGLFramebuffer::WebGLAttachment> create(WebGLRenderbuffer*);
- virtual void trace(Visitor*) override;
-
private:
explicit WebGLRenderbufferAttachment(WebGLRenderbuffer*);
WebGLRenderbufferAttachment() { }
@@ -68,12 +67,6 @@ namespace {
return adoptRef(new WebGLRenderbufferAttachment(renderbuffer));
}
- void WebGLRenderbufferAttachment::trace(Visitor* visitor)
- {
- visitor->trace(m_renderbuffer);
- WebGLFramebuffer::WebGLAttachment::trace(visitor);
- }
-
WebGLRenderbufferAttachment::WebGLRenderbufferAttachment(WebGLRenderbuffer* renderbuffer)
: m_renderbuffer(renderbuffer)
{
@@ -151,8 +144,6 @@ namespace {
public:
static PassRefPtr<WebGLFramebuffer::WebGLAttachment> create(WebGLTexture*, GLenum target, GLint level);
- virtual void trace(Visitor*) override;
-
private:
WebGLTextureAttachment(WebGLTexture*, GLenum target, GLint level);
WebGLTextureAttachment() { }
@@ -178,12 +169,6 @@ namespace {
return adoptRef(new WebGLTextureAttachment(texture, target, level));
}
- void WebGLTextureAttachment::trace(Visitor* visitor)
- {
- visitor->trace(m_texture);
- WebGLFramebuffer::WebGLAttachment::trace(visitor);
- }
-
WebGLTextureAttachment::WebGLTextureAttachment(WebGLTexture* texture, GLenum target, GLint level)
: m_texture(texture)
, m_target(target)
@@ -628,12 +613,4 @@ GLenum WebGLFramebuffer::getDrawBuffer(GLenum drawBuffer)
return GL_NONE;
}
-void WebGLFramebuffer::trace(Visitor* visitor)
-{
-#if ENABLE(OILPAN)
- visitor->trace(m_attachments);
-#endif
- WebGLContextObject::trace(visitor);
-}
-
}
« no previous file with comments | « sky/engine/core/html/canvas/WebGLFramebuffer.h ('k') | sky/engine/core/html/canvas/WebGLProgram.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698