Index: Source/core/html/canvas/WebGLProgram.h |
diff --git a/Source/core/html/canvas/WebGLProgram.h b/Source/core/html/canvas/WebGLProgram.h |
index 808b834b8d651e94fcfffbe6139d1a2d1b96214d..66c7e3c3b5d67b1d5f65a9c51015ee348051c17d 100644 |
--- a/Source/core/html/canvas/WebGLProgram.h |
+++ b/Source/core/html/canvas/WebGLProgram.h |
@@ -38,7 +38,7 @@ class WebGLProgram FINAL : public WebGLSharedObject, public ScriptWrappable { |
public: |
virtual ~WebGLProgram(); |
- static PassRefPtr<WebGLProgram> create(WebGLRenderingContextBase*); |
+ static PassRefPtrWillBeRawPtr<WebGLProgram> create(WebGLRenderingContextBase*); |
unsigned numActiveAttribLocations(); |
GLint getActiveAttribLocation(GLuint index); |
@@ -59,6 +59,8 @@ public: |
bool attachShader(WebGLShader*); |
bool detachShader(WebGLShader*); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
protected: |
WebGLProgram(WebGLRenderingContextBase*); |
@@ -78,8 +80,8 @@ private: |
// program or not. |
unsigned m_linkCount; |
- RefPtr<WebGLShader> m_vertexShader; |
- RefPtr<WebGLShader> m_fragmentShader; |
+ RefPtrWillBeMember<WebGLShader> m_vertexShader; |
+ RefPtrWillBeMember<WebGLShader> m_fragmentShader; |
bool m_infoValid; |
}; |