Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: Source/modules/webgl/CHROMIUMValuebuffer.cpp

Issue 1234883002: [Oilpan] Migrate classes under module/webgl onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase & work for some comments Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/webgl/CHROMIUMValuebuffer.cpp
diff --git a/Source/modules/webgl/CHROMIUMValuebuffer.cpp b/Source/modules/webgl/CHROMIUMValuebuffer.cpp
index 025870849312df8673516b4e1f7130d8cbdc75c3..1ab5b09099e0f20ffbab0cf28068fdc456e09324 100644
--- a/Source/modules/webgl/CHROMIUMValuebuffer.cpp
+++ b/Source/modules/webgl/CHROMIUMValuebuffer.cpp
@@ -10,16 +10,14 @@
namespace blink {
-PassRefPtrWillBeRawPtr<CHROMIUMValuebuffer> CHROMIUMValuebuffer::create(WebGLRenderingContextBase* ctx)
+CHROMIUMValuebuffer* CHROMIUMValuebuffer::create(WebGLRenderingContextBase* ctx)
{
- return adoptRefWillBeNoop(new CHROMIUMValuebuffer(ctx));
+ return new CHROMIUMValuebuffer(ctx);
}
CHROMIUMValuebuffer::~CHROMIUMValuebuffer()
{
- // 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

Powered by Google App Engine
This is Rietveld 408576698