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

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: 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/Canvas2DContextAttributes.cpp
diff --git a/Source/core/html/canvas/Canvas2DContextAttributes.cpp b/Source/core/html/canvas/Canvas2DContextAttributes.cpp
index b14f0fe5bb743c7a27bcacd3018d031be10540e5..a7d4d7f4d9701339e451e063d1113d7ec8a051f0 100644
--- a/Source/core/html/canvas/Canvas2DContextAttributes.cpp
+++ b/Source/core/html/canvas/Canvas2DContextAttributes.cpp
@@ -39,13 +39,11 @@ Canvas2DContextAttributes::Canvas2DContextAttributes()
ScriptWrappable::init(this);
}
-Canvas2DContextAttributes::~Canvas2DContextAttributes()
-{
-}
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(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