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

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

Issue 1281953003: Revert of [Oilpan] Migrate classes under module/webgl onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/modules/webgl/OESElementIndexUint.h ('k') | Source/modules/webgl/OESElementIndexUint.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/OESElementIndexUint.cpp
diff --git a/Source/modules/webgl/OESElementIndexUint.cpp b/Source/modules/webgl/OESElementIndexUint.cpp
index 7ed59c2991a3499b785be78243c0f2002b18c216..fd858b0e7799a26823718ea42282dc59b6f511dd 100644
--- a/Source/modules/webgl/OESElementIndexUint.cpp
+++ b/Source/modules/webgl/OESElementIndexUint.cpp
@@ -44,9 +44,9 @@
return OESElementIndexUintName;
}
-OESElementIndexUint* OESElementIndexUint::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<OESElementIndexUint> OESElementIndexUint::create(WebGLRenderingContextBase* context)
{
- return new OESElementIndexUint(context);
+ return adoptRefWillBeNoop(new OESElementIndexUint(context));
}
bool OESElementIndexUint::supported(WebGLRenderingContextBase* context)
« no previous file with comments | « Source/modules/webgl/OESElementIndexUint.h ('k') | Source/modules/webgl/OESElementIndexUint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698