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

Unified Diff: sky/engine/core/animation/css/CSSAnimations.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/core/animation/css/CSSAnimations.h
diff --git a/sky/engine/core/animation/css/CSSAnimations.h b/sky/engine/core/animation/css/CSSAnimations.h
index a46659dd5266dd88e54e88ece818c85fbde59fae..f57e70b7a92d23786d72fb8c70bddf17c0d0cc09 100644
--- a/sky/engine/core/animation/css/CSSAnimations.h
+++ b/sky/engine/core/animation/css/CSSAnimations.h
@@ -89,11 +89,6 @@ public:
struct NewAnimation {
ALLOW_ONLY_INLINE_ALLOCATION();
public:
- void trace(Visitor* visitor)
- {
- visitor->trace(animation);
- }
-
AtomicString name;
RefPtr<InertAnimation> animation;
};
@@ -105,13 +100,6 @@ public:
struct NewTransition {
ALLOW_ONLY_INLINE_ALLOCATION();
public:
- void trace(Visitor* visitor)
- {
- visitor->trace(from);
- visitor->trace(to);
- visitor->trace(animation);
- }
-
CSSPropertyID id;
CSSPropertyID eventId;
RawPtr<const AnimatableValue> from;
@@ -140,8 +128,6 @@ public:
&& m_activeInterpolationsForTransitions.isEmpty();
}
- void trace(Visitor*);
-
private:
// Order is significant since it defines the order in which new animations
// will be started. Note that there may be multiple animations present
@@ -180,19 +166,10 @@ public:
bool isEmpty() const { return m_animations.isEmpty() && m_transitions.isEmpty() && !m_pendingUpdate; }
void cancel();
- void trace(Visitor*);
-
private:
struct RunningTransition {
ALLOW_ONLY_INLINE_ALLOCATION();
public:
- void trace(Visitor* visitor)
- {
- visitor->trace(from);
- visitor->trace(to);
- visitor->trace(player);
- }
-
RefPtr<AnimationPlayer> player;
RawPtr<const AnimatableValue> from;
RawPtr<const AnimatableValue> to;
@@ -225,7 +202,6 @@ private:
{
}
virtual void onEventCondition(const AnimationNode*) override;
- virtual void trace(Visitor*) override;
private:
void maybeDispatch(Document::ListenerType, const AtomicString& eventName, double elapsedTime);
@@ -244,7 +220,6 @@ private:
{
}
virtual void onEventCondition(const AnimationNode*) override;
- virtual void trace(Visitor*) override;
private:
RawPtr<Element> m_target;
« no previous file with comments | « sky/engine/core/animation/animatable/AnimatableValueKeyframe.cpp ('k') | sky/engine/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698