Index: Source/modules/webgl/WebGLDepthTexture.cpp |
diff --git a/Source/modules/webgl/WebGLDepthTexture.cpp b/Source/modules/webgl/WebGLDepthTexture.cpp |
index 341876823568053a25f662d37b52ab107cc7bef6..2fd7987975361db85b6143f8957dc923efbc5ab2 100644 |
--- a/Source/modules/webgl/WebGLDepthTexture.cpp |
+++ b/Source/modules/webgl/WebGLDepthTexture.cpp |
@@ -44,9 +44,9 @@ WebGLExtensionName WebGLDepthTexture::name() const |
return WebGLDepthTextureName; |
} |
-PassRefPtrWillBeRawPtr<WebGLDepthTexture> WebGLDepthTexture::create(WebGLRenderingContextBase* context) |
+WebGLDepthTexture* WebGLDepthTexture::create(WebGLRenderingContextBase* context) |
{ |
- return adoptRefWillBeNoop(new WebGLDepthTexture(context)); |
+ return new WebGLDepthTexture(context); |
} |
bool WebGLDepthTexture::supported(WebGLRenderingContextBase* context) |