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