Index: Source/core/html/canvas/WebGLTexture.h |
diff --git a/Source/core/html/canvas/WebGLTexture.h b/Source/core/html/canvas/WebGLTexture.h |
index cab6ac5296cd18d983c6b6328acb84fbb3276f70..ce03fa5d08702425f1d84ea4bc386bd996b92ac4 100644 |
--- a/Source/core/html/canvas/WebGLTexture.h |
+++ b/Source/core/html/canvas/WebGLTexture.h |
@@ -42,7 +42,7 @@ public: |
}; |
virtual ~WebGLTexture(); |
- static PassRefPtr<WebGLTexture> create(WebGLRenderingContextBase*); |
+ static PassRefPtrWillBeRawPtr<WebGLTexture> create(WebGLRenderingContextBase*); |
void setTarget(GLenum target, GLint maxLevel); |
void setParameteri(GLenum pname, GLint param); |
@@ -76,7 +76,7 @@ public: |
static GLint computeLevelCount(GLsizei width, GLsizei height); |
protected: |
- WebGLTexture(WebGLRenderingContextBase*); |
+ explicit WebGLTexture(WebGLRenderingContextBase*); |
virtual void deleteObjectImpl(blink::WebGraphicsContext3D*, Platform3DObject) OVERRIDE; |