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

Unified Diff: Source/modules/webgl/WebGLCompressedTextureATC.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
Index: Source/modules/webgl/WebGLCompressedTextureATC.cpp
diff --git a/Source/modules/webgl/WebGLCompressedTextureATC.cpp b/Source/modules/webgl/WebGLCompressedTextureATC.cpp
index 4b4cbcedc714fb7cded9b8835f44dc8f4d2f5c60..ecf513a90f3828da6ae352d5479eecc797bb22d7 100644
--- a/Source/modules/webgl/WebGLCompressedTextureATC.cpp
+++ b/Source/modules/webgl/WebGLCompressedTextureATC.cpp
@@ -46,9 +46,9 @@
return WebGLCompressedTextureATCName;
}
-WebGLCompressedTextureATC* WebGLCompressedTextureATC::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<WebGLCompressedTextureATC> WebGLCompressedTextureATC::create(WebGLRenderingContextBase* context)
{
- return new WebGLCompressedTextureATC(context);
+ return adoptRefWillBeNoop(new WebGLCompressedTextureATC(context));
}
bool WebGLCompressedTextureATC::supported(WebGLRenderingContextBase* context)
« no previous file with comments | « Source/modules/webgl/WebGLCompressedTextureATC.h ('k') | Source/modules/webgl/WebGLCompressedTextureATC.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698