Index: Source/modules/webgl/OESVertexArrayObject.cpp |
diff --git a/Source/modules/webgl/OESVertexArrayObject.cpp b/Source/modules/webgl/OESVertexArrayObject.cpp |
index 72e66d1b7c12e99d90a0f70ad06dad6297e3bc30..a61945b395180d74c4dc6affa4eb517e294514eb 100644 |
--- a/Source/modules/webgl/OESVertexArrayObject.cpp |
+++ b/Source/modules/webgl/OESVertexArrayObject.cpp |
@@ -48,20 +48,20 @@ WebGLExtensionName OESVertexArrayObject::name() const |
return OESVertexArrayObjectName; |
} |
-PassRefPtrWillBeRawPtr<OESVertexArrayObject> OESVertexArrayObject::create(WebGLRenderingContextBase* context) |
+OESVertexArrayObject* OESVertexArrayObject::create(WebGLRenderingContextBase* context) |
{ |
- return adoptRefWillBeNoop(new OESVertexArrayObject(context)); |
+ return new OESVertexArrayObject(context); |
} |
-PassRefPtrWillBeRawPtr<WebGLVertexArrayObjectOES> OESVertexArrayObject::createVertexArrayOES() |
+WebGLVertexArrayObjectOES* OESVertexArrayObject::createVertexArrayOES() |
{ |
WebGLExtensionScopedContext scoped(this); |
if (scoped.isLost()) |
return nullptr; |
- RefPtrWillBeRawPtr<WebGLVertexArrayObjectOES> o = WebGLVertexArrayObjectOES::create(scoped.context(), WebGLVertexArrayObjectOES::VaoTypeUser); |
- scoped.context()->addContextObject(o.get()); |
- return o.release(); |
+ WebGLVertexArrayObjectOES* o = WebGLVertexArrayObjectOES::create(scoped.context(), WebGLVertexArrayObjectOES::VaoTypeUser); |
+ scoped.context()->addContextObject(o); |
+ return o; |
} |
void OESVertexArrayObject::deleteVertexArrayOES(WebGLVertexArrayObjectOES* arrayObject) |