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