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

Unified Diff: Source/modules/webgl/WebGLLoseContext.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/WebGLLoseContext.cpp
diff --git a/Source/modules/webgl/WebGLLoseContext.cpp b/Source/modules/webgl/WebGLLoseContext.cpp
index 95829a77d6ad1cafc8ed084bb0f9b6415872e818..3b3256806e8ccf389e58d8cb8f33e374a8cba87d 100644
--- a/Source/modules/webgl/WebGLLoseContext.cpp
+++ b/Source/modules/webgl/WebGLLoseContext.cpp
@@ -51,9 +51,9 @@ WebGLExtensionName WebGLLoseContext::name() const
return WebGLLoseContextName;
}
-PassRefPtrWillBeRawPtr<WebGLLoseContext> WebGLLoseContext::create(WebGLRenderingContextBase* context)
+WebGLLoseContext* WebGLLoseContext::create(WebGLRenderingContextBase* context)
{
- return adoptRefWillBeNoop(new WebGLLoseContext(context));
+ return new WebGLLoseContext(context);
}
void WebGLLoseContext::loseContext()

Powered by Google App Engine
This is Rietveld 408576698