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