Index: Source/core/html/canvas/WebGLShaderPrecisionFormat.h |
diff --git a/Source/core/html/canvas/WebGLShaderPrecisionFormat.h b/Source/core/html/canvas/WebGLShaderPrecisionFormat.h |
index c20d84f7d3d58b7e3af093b231938753ed837464..ef9650173d80a72800b92abdd5351d5ae9be4212 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 WebCore { |
-class WebGLShaderPrecisionFormat : public RefCounted<WebGLShaderPrecisionFormat>, public ScriptWrappable { |
+class WebGLShaderPrecisionFormat FINAL : public RefCountedWillBeGarbageCollectedFinalized<WebGLShaderPrecisionFormat>, public ScriptWrappable { |
haraken
2014/07/03 04:40:29
Can we probably drop Finalized?
sof
2014/07/03 07:25:49
Done.
|
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); |