Index: Source/modules/webgl/WebGLCompressedTextureETC1.cpp |
diff --git a/Source/modules/webgl/WebGLCompressedTextureETC1.cpp b/Source/modules/webgl/WebGLCompressedTextureETC1.cpp |
index 9ff1739644d8f7994a1615639dedc3c7cddc2179..1e02d3e2377b87729cbc0bce07d143831041fc12 100644 |
--- a/Source/modules/webgl/WebGLCompressedTextureETC1.cpp |
+++ b/Source/modules/webgl/WebGLCompressedTextureETC1.cpp |
@@ -25,9 +25,9 @@ |
return WebGLCompressedTextureETC1Name; |
} |
-WebGLCompressedTextureETC1* WebGLCompressedTextureETC1::create(WebGLRenderingContextBase* context) |
+PassRefPtrWillBeRawPtr<WebGLCompressedTextureETC1> WebGLCompressedTextureETC1::create(WebGLRenderingContextBase* context) |
{ |
- return new WebGLCompressedTextureETC1(context); |
+ return adoptRefWillBeNoop(new WebGLCompressedTextureETC1(context)); |
} |
bool WebGLCompressedTextureETC1::supported(WebGLRenderingContextBase* context) |