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

Unified Diff: Source/core/html/canvas/OESTextureHalfFloat.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: Smaller adjustments 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/OESTextureHalfFloat.cpp
diff --git a/Source/core/html/canvas/OESTextureHalfFloat.cpp b/Source/core/html/canvas/OESTextureHalfFloat.cpp
index 5b61955afb1de4781d0de9f2315ce4694d14d5f7..d8d1816dda96374ec3d6c8c105f0446920d8cf2f 100644
--- a/Source/core/html/canvas/OESTextureHalfFloat.cpp
+++ b/Source/core/html/canvas/OESTextureHalfFloat.cpp
@@ -45,9 +45,9 @@ WebGLExtensionName OESTextureHalfFloat::name() const
return OESTextureHalfFloatName;
}
-PassRefPtr<OESTextureHalfFloat> OESTextureHalfFloat::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<OESTextureHalfFloat> OESTextureHalfFloat::create(WebGLRenderingContextBase* context)
{
- return adoptRef(new OESTextureHalfFloat(context));
+ return adoptRefWillBeNoop(new OESTextureHalfFloat(context));
}
bool OESTextureHalfFloat::supported(WebGLRenderingContextBase* context)

Powered by Google App Engine
This is Rietveld 408576698