Index: Source/modules/webgl/WebGLShaderPrecisionFormat.h |
diff --git a/Source/modules/webgl/WebGLShaderPrecisionFormat.h b/Source/modules/webgl/WebGLShaderPrecisionFormat.h |
index 1b2c998681e0bdf74bbe69edea60ae0e1cb3ffce..fc8d9d21c317500b04a9b1439136009fd874a13c 100644 |
--- a/Source/modules/webgl/WebGLShaderPrecisionFormat.h |
+++ b/Source/modules/webgl/WebGLShaderPrecisionFormat.h |
@@ -30,15 +30,13 @@ |
#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 final : public RefCountedWillBeGarbageCollected<WebGLShaderPrecisionFormat>, public ScriptWrappable { |
+class WebGLShaderPrecisionFormat final : public GarbageCollected<WebGLShaderPrecisionFormat>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> create(GLint rangeMin, GLint rangeMax, GLint precision); |
+ static WebGLShaderPrecisionFormat* create(GLint rangeMin, GLint rangeMax, GLint precision); |
GLint rangeMin() const; |
GLint rangeMax() const; |