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

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

Powered by Google App Engine
This is Rietveld 408576698