Index: Source/core/html/canvas/WebGLActiveInfo.h |
diff --git a/Source/core/html/canvas/WebGLActiveInfo.h b/Source/core/html/canvas/WebGLActiveInfo.h |
index 51b6e77b16ffc2895abc4e0c894806d7b59578be..9d172ba5fca066b3c833ae40819c7f1f9c70537c 100644 |
--- a/Source/core/html/canvas/WebGLActiveInfo.h |
+++ b/Source/core/html/canvas/WebGLActiveInfo.h |
@@ -34,16 +34,18 @@ |
namespace blink { |
-class WebGLActiveInfo : public RefCounted<WebGLActiveInfo>, public ScriptWrappable { |
+class WebGLActiveInfo FINAL : public RefCountedWillBeGarbageCollectedFinalized<WebGLActiveInfo>, public ScriptWrappable { |
public: |
- static PassRefPtr<WebGLActiveInfo> create(const String& name, GLenum type, GLint size) |
+ static PassRefPtrWillBeRawPtr<WebGLActiveInfo> create(const String& name, GLenum type, GLint size) |
{ |
- return adoptRef(new WebGLActiveInfo(name, type, size)); |
+ return adoptRefWillBeNoop(new WebGLActiveInfo(name, type, size)); |
} |
String name() const { return m_name; } |
GLenum type() const { return m_type; } |
GLint size() const { return m_size; } |
+ void trace(Visitor*) { } |
+ |
private: |
WebGLActiveInfo(const String& name, GLenum type, GLint size) |
: m_name(name) |