Index: Source/core/html/canvas/WebGLUniformLocation.cpp |
diff --git a/Source/core/html/canvas/WebGLUniformLocation.cpp b/Source/core/html/canvas/WebGLUniformLocation.cpp |
index 9deb4b66863fa802a03d34a668f01dfc47e08fe0..f900793e268e8d6ae60989cb7cbc803abcb43c35 100644 |
--- a/Source/core/html/canvas/WebGLUniformLocation.cpp |
+++ b/Source/core/html/canvas/WebGLUniformLocation.cpp |
@@ -30,9 +30,9 @@ |
namespace blink { |
-PassRefPtr<WebGLUniformLocation> WebGLUniformLocation::create(WebGLProgram* program, GLint location) |
+PassRefPtrWillBeRawPtr<WebGLUniformLocation> WebGLUniformLocation::create(WebGLProgram* program, GLint location) |
{ |
- return adoptRef(new WebGLUniformLocation(program, location)); |
+ return adoptRefWillBeNoop(new WebGLUniformLocation(program, location)); |
} |
WebGLUniformLocation::WebGLUniformLocation(WebGLProgram* program, GLint location) |
@@ -61,4 +61,9 @@ GLint WebGLUniformLocation::location() const |
return m_location; |
} |
+void WebGLUniformLocation::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_program); |
+} |
+ |
} |