Index: Source/modules/webgl/WebGLCompressedTextureS3TC.cpp |
diff --git a/Source/modules/webgl/WebGLCompressedTextureS3TC.cpp b/Source/modules/webgl/WebGLCompressedTextureS3TC.cpp |
index fcbdc83811d66f504c629a2fecea0767309c822c..b45b3acbd6558950297fb348c22f6660bc1062a5 100644 |
--- a/Source/modules/webgl/WebGLCompressedTextureS3TC.cpp |
+++ b/Source/modules/webgl/WebGLCompressedTextureS3TC.cpp |
@@ -49,9 +49,9 @@ WebGLExtensionName WebGLCompressedTextureS3TC::name() const |
return WebGLCompressedTextureS3TCName; |
} |
-PassRefPtrWillBeRawPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContextBase* context) |
+WebGLCompressedTextureS3TC* WebGLCompressedTextureS3TC::create(WebGLRenderingContextBase* context) |
{ |
- return adoptRefWillBeNoop(new WebGLCompressedTextureS3TC(context)); |
+ return new WebGLCompressedTextureS3TC(context); |
} |
bool WebGLCompressedTextureS3TC::supported(WebGLRenderingContextBase* context) |