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

Unified Diff: Source/core/animation/TimedItem.cpp

Issue 225073004: Oilpan: Completely move core/animations/ to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/core/animation/TimedItem.h ('k') | Source/core/animation/TimedItem.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/TimedItem.cpp
diff --git a/Source/core/animation/TimedItem.cpp b/Source/core/animation/TimedItem.cpp
index 9743143d790a42db0679a5adf99febb5406018e2..e1cae328761583576ac2a0b5c7e6a872879d4c9a 100644
--- a/Source/core/animation/TimedItem.cpp
+++ b/Source/core/animation/TimedItem.cpp
@@ -51,9 +51,9 @@ Timing::FillMode resolvedFillMode(Timing::FillMode fillMode, bool isAnimation)
} // namespace
TimedItem::TimedItem(const Timing& timing, PassOwnPtr<EventDelegate> eventDelegate)
- : m_parent(0)
+ : m_parent(nullptr)
, m_startTime(0)
- , m_player(0)
+ , m_player(nullptr)
, m_timing(timing)
, m_eventDelegate(eventDelegate)
, m_calculated()
@@ -181,9 +181,15 @@ const TimedItem::CalculatedTiming& TimedItem::ensureCalculated() const
return m_calculated;
}
-PassRefPtr<TimedItemTiming> TimedItem::timing()
+PassRefPtrWillBeRawPtr<TimedItemTiming> TimedItem::timing()
{
return TimedItemTiming::create(this);
}
+void TimedItem::trace(Visitor* visitor)
+{
+ visitor->trace(m_parent);
+ visitor->trace(m_player);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/animation/TimedItem.h ('k') | Source/core/animation/TimedItem.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698