| Index: Source/modules/webgl/WebGLTransformFeedback.cpp
|
| diff --git a/Source/modules/webgl/WebGLTransformFeedback.cpp b/Source/modules/webgl/WebGLTransformFeedback.cpp
|
| index fe69008fa0213e00f90bcc4c73b5d924b7035ebf..7fbdd635a001675a06c11baff22670cd404c2bee 100644
|
| --- a/Source/modules/webgl/WebGLTransformFeedback.cpp
|
| +++ b/Source/modules/webgl/WebGLTransformFeedback.cpp
|
| @@ -10,16 +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.
|
| + // Call detach here to ensure that platform object deletion happens.
|
| //
|
| // See comment in WebGLBuffer's destructor for additional
|
| // information on why this is done for WebGLSharedObject-derived
|
|
|