Index: Source/modules/webgl/WebGLTexture.h |
diff --git a/Source/modules/webgl/WebGLTexture.h b/Source/modules/webgl/WebGLTexture.h |
index e4139c4c530803f43ef9bda76ff60b231eb37730..95cfea3dd981e261da0674fb99d4f4480fde1459 100644 |
--- a/Source/modules/webgl/WebGLTexture.h |
+++ b/Source/modules/webgl/WebGLTexture.h |
@@ -27,6 +27,7 @@ |
#define WebGLTexture_h |
#include "modules/webgl/WebGLSharedPlatform3DObject.h" |
+#include "wtf/PassRefPtr.h" |
#include "wtf/Vector.h" |
namespace blink { |
@@ -41,7 +42,7 @@ |
}; |
~WebGLTexture() override; |
- static WebGLTexture* create(WebGLRenderingContextBase*); |
+ static PassRefPtrWillBeRawPtr<WebGLTexture> create(WebGLRenderingContextBase*); |
void setTarget(GLenum target, GLint maxLevel); |
void setParameteri(GLenum pname, GLint param); |