Index: Source/modules/webgl/WebGLDrawBuffers.cpp |
diff --git a/Source/modules/webgl/WebGLDrawBuffers.cpp b/Source/modules/webgl/WebGLDrawBuffers.cpp |
index 8702f1330749ded6f137dc47c72c457291885a47..c206f987a9419ec31ba8ef15ceb5e9f1a5dfe8ea 100644 |
--- a/Source/modules/webgl/WebGLDrawBuffers.cpp |
+++ b/Source/modules/webgl/WebGLDrawBuffers.cpp |
@@ -45,9 +45,9 @@ |
return WebGLDrawBuffersName; |
} |
-WebGLDrawBuffers* WebGLDrawBuffers::create(WebGLRenderingContextBase* context) |
+PassRefPtrWillBeRawPtr<WebGLDrawBuffers> WebGLDrawBuffers::create(WebGLRenderingContextBase* context) |
{ |
- return new WebGLDrawBuffers(context); |
+ return adoptRefWillBeNoop(new WebGLDrawBuffers(context)); |
} |
// static |
@@ -57,7 +57,6 @@ |
&& satisfiesWebGLRequirements(context)); |
} |
-// static |
const char* WebGLDrawBuffers::extensionName() |
{ |
return "WEBGL_draw_buffers"; |