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

Unified Diff: Source/modules/webgl/WebGLTexture.cpp

Issue 1234883002: [Oilpan] Migrate classes under module/webgl onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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/WebGLTexture.cpp
diff --git a/Source/modules/webgl/WebGLTexture.cpp b/Source/modules/webgl/WebGLTexture.cpp
index 53d494dcbc53c0d1e391e6ce2ac1d532e573d12a..a925d69637c61c9405b3698d2baace335b86cd24 100644
--- a/Source/modules/webgl/WebGLTexture.cpp
+++ b/Source/modules/webgl/WebGLTexture.cpp
@@ -31,9 +31,9 @@
namespace blink {
-PassRefPtrWillBeRawPtr<WebGLTexture> WebGLTexture::create(WebGLRenderingContextBase* ctx)
+WebGLTexture* WebGLTexture::create(WebGLRenderingContextBase* ctx)
{
- return adoptRefWillBeNoop(new WebGLTexture(ctx));
+ return new WebGLTexture(ctx);
}
WebGLTexture::WebGLTexture(WebGLRenderingContextBase* ctx)

Powered by Google App Engine
This is Rietveld 408576698