| Index: Source/modules/webgl/WebGLTransformFeedback.cpp
|
| diff --git a/Source/modules/webgl/WebGLTransformFeedback.cpp b/Source/modules/webgl/WebGLTransformFeedback.cpp
|
| index fe69008fa0213e00f90bcc4c73b5d924b7035ebf..ccb74c6afedba4f94797584c12d12f6445e09a40 100644
|
| --- a/Source/modules/webgl/WebGLTransformFeedback.cpp
|
| +++ b/Source/modules/webgl/WebGLTransformFeedback.cpp
|
| @@ -10,20 +10,14 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtrWillBeRawPtr<WebGLTransformFeedback> WebGLTransformFeedback::create(WebGL2RenderingContextBase* ctx)
|
| +WebGLTransformFeedback* WebGLTransformFeedback::create(WebGL2RenderingContextBase* ctx)
|
| {
|
| - return adoptRefWillBeNoop(new WebGLTransformFeedback(ctx));
|
| + return new WebGLTransformFeedback(ctx);
|
| }
|
|
|
| WebGLTransformFeedback::~WebGLTransformFeedback()
|
| {
|
| - // Always call detach here to ensure that platform object deletion
|
| - // happens with Oilpan enabled. It keeps the code regular to do it
|
| - // with or without Oilpan enabled.
|
| - //
|
| - // See comment in WebGLBuffer's destructor for additional
|
| - // information on why this is done for WebGLSharedObject-derived
|
| - // objects.
|
| + // See the comment in WebGLObject::detachAndDeleteObject().
|
| detachAndDeleteObject();
|
| }
|
|
|
|
|