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

Unified Diff: Source/modules/webgl/EXTsRGB.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/EXTsRGB.cpp
diff --git a/Source/modules/webgl/EXTsRGB.cpp b/Source/modules/webgl/EXTsRGB.cpp
index f4ac9fe7f09c7d4fca8ea29dbd8c66014f7abed1..8816374568fc17fa865958d4bbf2916d23ab4203 100644
--- a/Source/modules/webgl/EXTsRGB.cpp
+++ b/Source/modules/webgl/EXTsRGB.cpp
@@ -25,9 +25,9 @@ WebGLExtensionName EXTsRGB::name() const
return EXTsRGBName;
}
-PassRefPtrWillBeRawPtr<EXTsRGB> EXTsRGB::create(WebGLRenderingContextBase* context)
+EXTsRGB* EXTsRGB::create(WebGLRenderingContextBase* context)
{
- return adoptRefWillBeNoop(new EXTsRGB(context));
+ return new EXTsRGB(context);
}
bool EXTsRGB::supported(WebGLRenderingContextBase* context)

Powered by Google App Engine
This is Rietveld 408576698