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

Unified Diff: Source/core/html/canvas/Canvas2DContextAttributes.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: Round of improvements Created 6 years, 6 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/Canvas2DContextAttributes.cpp
diff --git a/Source/core/html/canvas/Canvas2DContextAttributes.cpp b/Source/core/html/canvas/Canvas2DContextAttributes.cpp
index 3ff9b1ac9ee0658766688b4a8e1f30434aa2556d..1d69ae39d014e458d0ed1cfe9cbe8c3b984e39e2 100644
--- a/Source/core/html/canvas/Canvas2DContextAttributes.cpp
+++ b/Source/core/html/canvas/Canvas2DContextAttributes.cpp
@@ -43,9 +43,9 @@ Canvas2DContextAttributes::~Canvas2DContextAttributes()
{
}
-PassRefPtr<Canvas2DContextAttributes> Canvas2DContextAttributes::create()
+PassRefPtrWillBeRawPtr<Canvas2DContextAttributes> Canvas2DContextAttributes::create()
{
- return adoptRef(new Canvas2DContextAttributes());
+ return adoptRefWillBeNoop(new Canvas2DContextAttributes());
}
bool Canvas2DContextAttributes::alpha() const

Powered by Google App Engine
This is Rietveld 408576698