Index: Source/core/html/canvas/WebGLShaderPrecisionFormat.h |
diff --git a/Source/core/html/canvas/WebGLShaderPrecisionFormat.h b/Source/core/html/canvas/WebGLShaderPrecisionFormat.h |
index 5afd755fab772ebb82552842512517cb72811673..5a7c88959eecad0bb6acb6b40ee036dc7b5c50a4 100644 |
--- a/Source/core/html/canvas/WebGLShaderPrecisionFormat.h |
+++ b/Source/core/html/canvas/WebGLShaderPrecisionFormat.h |
@@ -29,19 +29,22 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "platform/graphics/GraphicsTypes3D.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
namespace blink { |
-class WebGLShaderPrecisionFormat : public RefCounted<WebGLShaderPrecisionFormat>, public ScriptWrappable { |
+class WebGLShaderPrecisionFormat FINAL : public RefCountedWillBeGarbageCollected<WebGLShaderPrecisionFormat>, public ScriptWrappable { |
public: |
- static PassRefPtr<WebGLShaderPrecisionFormat> create(GLint rangeMin, GLint rangeMax, GLint precision); |
+ static PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> create(GLint rangeMin, GLint rangeMax, GLint precision); |
GLint rangeMin() const; |
GLint rangeMax() const; |
GLint precision() const; |
+ void trace(Visitor*) { } |
+ |
private: |
WebGLShaderPrecisionFormat(GLint rangeMin, GLint rangeMax, GLint precision); |