Index: Source/modules/webgl/WebGLDebugShaders.cpp |
diff --git a/Source/modules/webgl/WebGLDebugShaders.cpp b/Source/modules/webgl/WebGLDebugShaders.cpp |
index 411f7029dec74a36f3c8e9fb860b6308e8b8307f..1b2c3efbe0123ffddcf96fe97efa302e7d07e118 100644 |
--- a/Source/modules/webgl/WebGLDebugShaders.cpp |
+++ b/Source/modules/webgl/WebGLDebugShaders.cpp |
@@ -46,9 +46,9 @@ WebGLExtensionName WebGLDebugShaders::name() const |
return WebGLDebugShadersName; |
} |
-PassRefPtrWillBeRawPtr<WebGLDebugShaders> WebGLDebugShaders::create(WebGLRenderingContextBase* context) |
+WebGLDebugShaders* WebGLDebugShaders::create(WebGLRenderingContextBase* context) |
{ |
- return adoptRefWillBeNoop(new WebGLDebugShaders(context)); |
+ return new WebGLDebugShaders(context); |
} |
String WebGLDebugShaders::getTranslatedShaderSource(WebGLShader* shader) |