Index: Source/core/html/canvas/WebGLProgram.cpp |
diff --git a/Source/core/html/canvas/WebGLProgram.cpp b/Source/core/html/canvas/WebGLProgram.cpp |
index e1e49594139fa2240e470bc50a743be707379c4e..2f8b46e36e7178ffa6458d65d492ee3f0ea1c8df 100644 |
--- a/Source/core/html/canvas/WebGLProgram.cpp |
+++ b/Source/core/html/canvas/WebGLProgram.cpp |
@@ -31,9 +31,9 @@ |
namespace WebCore { |
-PassRefPtr<WebGLProgram> WebGLProgram::create(WebGLRenderingContextBase* ctx) |
+PassRefPtrWillBeRawPtr<WebGLProgram> WebGLProgram::create(WebGLRenderingContextBase* ctx) |
{ |
- return adoptRef(new WebGLProgram(ctx)); |
+ return adoptRefWillBeNoop(new WebGLProgram(ctx)); |
} |
WebGLProgram::WebGLProgram(WebGLRenderingContextBase* ctx) |
@@ -185,4 +185,11 @@ void WebGLProgram::cacheInfoIfNeeded() |
m_infoValid = true; |
} |
+void WebGLProgram::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_vertexShader); |
+ visitor->trace(m_fragmentShader); |
+ WebGLSharedObject::trace(visitor); |
+} |
+ |
} |