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

Unified Diff: Source/modules/webgl/WebGLSampler.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/WebGLSampler.cpp
diff --git a/Source/modules/webgl/WebGLSampler.cpp b/Source/modules/webgl/WebGLSampler.cpp
index 338c672281350c73b91f8bae6e3594cf2e0d2691..218392a5b1881ae822d1b577510f6059b11b02f2 100644
--- a/Source/modules/webgl/WebGLSampler.cpp
+++ b/Source/modules/webgl/WebGLSampler.cpp
@@ -10,9 +10,9 @@
namespace blink {
-PassRefPtrWillBeRawPtr<WebGLSampler> WebGLSampler::create(WebGL2RenderingContextBase* ctx)
+WebGLSampler* WebGLSampler::create(WebGL2RenderingContextBase* ctx)
{
- return adoptRefWillBeNoop(new WebGLSampler(ctx));
+ return new WebGLSampler(ctx);
}
WebGLSampler::~WebGLSampler()

Powered by Google App Engine
This is Rietveld 408576698