Index: Source/modules/webgl/WebGLActiveInfo.h |
diff --git a/Source/modules/webgl/WebGLActiveInfo.h b/Source/modules/webgl/WebGLActiveInfo.h |
index 24c2246b6932089d1402edeb3b380c812dad3fac..57e34c4ccb0f16c2096c12811a64e2003ca9427a 100644 |
--- a/Source/modules/webgl/WebGLActiveInfo.h |
+++ b/Source/modules/webgl/WebGLActiveInfo.h |
@@ -28,18 +28,15 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "platform/graphics/GraphicsTypes3D.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
-#include "wtf/text/WTFString.h" |
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; } |