Index: Source/modules/webgl/WebGLUniformLocation.h |
diff --git a/Source/modules/webgl/WebGLUniformLocation.h b/Source/modules/webgl/WebGLUniformLocation.h |
index 44bba2ca35e01814733cf2bc730ee0a6eeabce7d..41f3b70deed15468a34fdf39d6a03a89f9a6ad20 100644 |
--- a/Source/modules/webgl/WebGLUniformLocation.h |
+++ b/Source/modules/webgl/WebGLUniformLocation.h |
@@ -29,13 +29,15 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "modules/webgl/WebGLProgram.h" |
+#include "wtf/PassRefPtr.h" |
+#include "wtf/RefCounted.h" |
namespace blink { |
-class WebGLUniformLocation final : public GarbageCollected<WebGLUniformLocation>, public ScriptWrappable { |
+class WebGLUniformLocation final : public RefCountedWillBeGarbageCollected<WebGLUniformLocation>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static WebGLUniformLocation* create(WebGLProgram*, GLint location); |
+ static PassRefPtrWillBeRawPtr<WebGLUniformLocation> create(WebGLProgram*, GLint location); |
WebGLProgram* program() const; |
@@ -47,7 +49,7 @@ |
WebGLUniformLocation(WebGLProgram*, GLint location); |
private: |
- Member<WebGLProgram> m_program; |
+ RefPtrWillBeMember<WebGLProgram> m_program; |
GLint m_location; |
unsigned m_linkCount; |
}; |