Index: Source/modules/webgl/WebGLActiveInfo.h |
diff --git a/Source/modules/webgl/WebGLActiveInfo.h b/Source/modules/webgl/WebGLActiveInfo.h |
index 24c2246b6932089d1402edeb3b380c812dad3fac..d9527a4f90bc17f66a1cb4ae4e82ae78a87f553e 100644 |
--- a/Source/modules/webgl/WebGLActiveInfo.h |
+++ b/Source/modules/webgl/WebGLActiveInfo.h |
@@ -34,12 +34,12 @@ |
namespace blink { |
-class WebGLActiveInfo final : public RefCountedWillBeGarbageCollectedFinalized<WebGLActiveInfo>, public ScriptWrappable { |
+class WebGLActiveInfo final : public GarbageCollectedFinalized<WebGLActiveInfo>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtrWillBeRawPtr<WebGLActiveInfo> create(const String& name, GLenum type, GLint size) |
+ static WebGLActiveInfo* create(const String& name, GLenum type, GLint size) |
{ |
- return adoptRefWillBeNoop(new WebGLActiveInfo(name, type, size)); |
+ return new WebGLActiveInfo(name, type, size); |
} |
String name() const { return m_name; } |
GLenum type() const { return m_type; } |