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

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: Have Nullable<T>::trace() use TraceIfNeeded<>. 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 3ff9b1ac9ee0658766688b4a8e1f30434aa2556d..a26724f9f244bb8702c7f0521aa1a742288511ed 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