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

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

Powered by Google App Engine
This is Rietveld 408576698