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

Unified Diff: Source/modules/webgl/OESTextureHalfFloat.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/OESTextureHalfFloat.h ('k') | Source/modules/webgl/OESTextureHalfFloat.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/OESTextureHalfFloat.cpp
diff --git a/Source/modules/webgl/OESTextureHalfFloat.cpp b/Source/modules/webgl/OESTextureHalfFloat.cpp
index aa41d1acde8ea45b649d5609e3cacf52f24ef910..f50ecced8e9f85cc59b1ccd995a5daf3ca10af95 100644
--- a/Source/modules/webgl/OESTextureHalfFloat.cpp
+++ b/Source/modules/webgl/OESTextureHalfFloat.cpp
@@ -44,9 +44,9 @@
return OESTextureHalfFloatName;
}
-OESTextureHalfFloat* OESTextureHalfFloat::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<OESTextureHalfFloat> OESTextureHalfFloat::create(WebGLRenderingContextBase* context)
{
- return new OESTextureHalfFloat(context);
+ return adoptRefWillBeNoop(new OESTextureHalfFloat(context));
}
bool OESTextureHalfFloat::supported(WebGLRenderingContextBase* context)
« no previous file with comments | « Source/modules/webgl/OESTextureHalfFloat.h ('k') | Source/modules/webgl/OESTextureHalfFloat.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698