| Index: Source/modules/webgl/WebGLRenderbuffer.cpp
|
| diff --git a/Source/modules/webgl/WebGLRenderbuffer.cpp b/Source/modules/webgl/WebGLRenderbuffer.cpp
|
| index 941e8b781662e8aced82720659f02920d2b6e3c5..9c3531434d01a644532e4b143337eb6ca8e351ad 100644
|
| --- a/Source/modules/webgl/WebGLRenderbuffer.cpp
|
| +++ b/Source/modules/webgl/WebGLRenderbuffer.cpp
|
| @@ -31,20 +31,17 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtrWillBeRawPtr<WebGLRenderbuffer> WebGLRenderbuffer::create(WebGLRenderingContextBase* ctx)
|
| +WebGLRenderbuffer* WebGLRenderbuffer::create(WebGLRenderingContextBase* ctx)
|
| {
|
| - return adoptRefWillBeNoop(new WebGLRenderbuffer(ctx));
|
| + return new WebGLRenderbuffer(ctx);
|
| }
|
|
|
| WebGLRenderbuffer::~WebGLRenderbuffer()
|
| {
|
| -#if ENABLE(OILPAN)
|
| // This render buffer (heap) object must finalize itself.
|
| m_emulatedStencilBuffer.clear();
|
| -#endif
|
| - // 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
|
|
|