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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h

Issue 2236193002: WIP: Implement CSS transitions on top of InterpolationTypes instead of AnimatableValues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_environmentStyle
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h b/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
index c1920e4841c629f5f6a230532ba108e97e4c223b..0abd431246965b9334d58d2d0a1e1c1616cdf720 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
@@ -152,7 +152,7 @@ public:
m_updatedCompositorKeyframes.append(animation);
}
- void startTransition(CSSPropertyID id, const AnimatableValue* from, const AnimatableValue* to, PassRefPtr<AnimatableValue> reversingAdjustedStartValue, double reversingShorteningFactor, const InertEffect& effect)
+ void startTransition(CSSPropertyID id, PassRefPtr<AnimatableValue> from, PassRefPtr<AnimatableValue> to, PassRefPtr<AnimatableValue> reversingAdjustedStartValue, double reversingShorteningFactor, const InertEffect& effect)
{
NewTransition newTransition;
newTransition.id = id;
@@ -183,8 +183,8 @@ public:
}
CSSPropertyID id;
- const AnimatableValue* from;
- const AnimatableValue* to;
+ RefPtr<AnimatableValue> from;
+ RefPtr<AnimatableValue> to;
RefPtr<AnimatableValue> reversingAdjustedStartValue;
double reversingShorteningFactor;
Member<const InertEffect> effect;

Powered by Google App Engine
This is Rietveld 408576698