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

Unified Diff: Source/core/html/canvas/EXTBlendMinMax.cpp

Issue 365653002: Oilpan: move 2D Canvas and WebGL objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make WebGLObjects keep a blink::WebGraphicsContext3D for finalization. Created 6 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/core/html/canvas/EXTBlendMinMax.cpp
diff --git a/Source/core/html/canvas/EXTBlendMinMax.cpp b/Source/core/html/canvas/EXTBlendMinMax.cpp
index 8ded7388912e5813440cdd17a0747b97c75557b0..d6a942746d9b135899c5619d0cb3cfef09cc6c85 100644
--- a/Source/core/html/canvas/EXTBlendMinMax.cpp
+++ b/Source/core/html/canvas/EXTBlendMinMax.cpp
@@ -24,9 +24,9 @@ WebGLExtensionName EXTBlendMinMax::name() const
return EXTBlendMinMaxName;
}
-PassRefPtr<EXTBlendMinMax> EXTBlendMinMax::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<EXTBlendMinMax> EXTBlendMinMax::create(WebGLRenderingContextBase* context)
{
- return adoptRef(new EXTBlendMinMax(context));
+ return adoptRefWillBeNoop(new EXTBlendMinMax(context));
}
bool EXTBlendMinMax::supported(WebGLRenderingContextBase* context)

Powered by Google App Engine
This is Rietveld 408576698