Index: Source/core/html/canvas/WebGLUniformLocation.h |
diff --git a/Source/core/html/canvas/WebGLUniformLocation.h b/Source/core/html/canvas/WebGLUniformLocation.h |
index 033c04892717daeb3d86f7d4eed82a7094a4dc29..da0d45b172fa5b554806d17a8e42f42bd1911759 100644 |
--- a/Source/core/html/canvas/WebGLUniformLocation.h |
+++ b/Source/core/html/canvas/WebGLUniformLocation.h |
@@ -34,19 +34,21 @@ |
namespace blink { |
-class WebGLUniformLocation FINAL : public RefCounted<WebGLUniformLocation>, public ScriptWrappable { |
+class WebGLUniformLocation FINAL : public RefCountedWillBeGarbageCollected<WebGLUniformLocation>, public ScriptWrappable { |
public: |
- static PassRefPtr<WebGLUniformLocation> create(WebGLProgram*, GLint location); |
+ static PassRefPtrWillBeRawPtr<WebGLUniformLocation> create(WebGLProgram*, GLint location); |
WebGLProgram* program() const; |
GLint location() const; |
+ void trace(Visitor*); |
+ |
protected: |
WebGLUniformLocation(WebGLProgram*, GLint location); |
private: |
- RefPtr<WebGLProgram> m_program; |
+ RefPtrWillBeMember<WebGLProgram> m_program; |
GLint m_location; |
unsigned m_linkCount; |
}; |