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

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

Powered by Google App Engine
This is Rietveld 408576698