| Index: Source/core/html/canvas/OESVertexArrayObject.cpp
|
| diff --git a/Source/core/html/canvas/OESVertexArrayObject.cpp b/Source/core/html/canvas/OESVertexArrayObject.cpp
|
| index 6617e02d2d7274a8442bac787c60e4801851e0f5..ed3b571f06200aa59ee011421bd3128f7f9b3eb2 100644
|
| --- a/Source/core/html/canvas/OESVertexArrayObject.cpp
|
| +++ b/Source/core/html/canvas/OESVertexArrayObject.cpp
|
| @@ -49,17 +49,17 @@ WebGLExtensionName OESVertexArrayObject::name() const
|
| return OESVertexArrayObjectName;
|
| }
|
|
|
| -PassRefPtr<OESVertexArrayObject> OESVertexArrayObject::create(WebGLRenderingContextBase* context)
|
| +PassRefPtrWillBeRawPtr<OESVertexArrayObject> OESVertexArrayObject::create(WebGLRenderingContextBase* context)
|
| {
|
| - return adoptRef(new OESVertexArrayObject(context));
|
| + return adoptRefWillBeNoop(new OESVertexArrayObject(context));
|
| }
|
|
|
| -PassRefPtr<WebGLVertexArrayObjectOES> OESVertexArrayObject::createVertexArrayOES()
|
| +PassRefPtrWillBeRawPtr<WebGLVertexArrayObjectOES> OESVertexArrayObject::createVertexArrayOES()
|
| {
|
| if (isLost())
|
| return nullptr;
|
|
|
| - RefPtr<WebGLVertexArrayObjectOES> o = WebGLVertexArrayObjectOES::create(m_context, WebGLVertexArrayObjectOES::VaoTypeUser);
|
| + RefPtrWillBeRawPtr<WebGLVertexArrayObjectOES> o = WebGLVertexArrayObjectOES::create(m_context, WebGLVertexArrayObjectOES::VaoTypeUser);
|
| m_context->addContextObject(o.get());
|
| return o.release();
|
| }
|
|
|