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

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

Issue 2895283004: Replace AnimatableValues with ComputedStyle references for CSS Transitions (Closed)
Patch Set: Created 3 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
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 7c0ef5bf6f792cff8465156bd5816e9866af5fac..fe0f2e8f9b941b9f8bdb2f2a56a4db79e26d39da 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
@@ -167,9 +167,9 @@ class CSSAnimationUpdate final {
void StartTransition(
const PropertyHandle& property,
- RefPtr<AnimatableValue> from,
- RefPtr<AnimatableValue> to,
- PassRefPtr<AnimatableValue> reversing_adjusted_start_value,
+ RefPtr<const ComputedStyle> from,
+ RefPtr<const ComputedStyle> to,
+ PassRefPtr<const ComputedStyle> reversing_adjusted_start_value,
double reversing_shortening_factor,
const InertEffect& effect) {
NewTransition new_transition;
@@ -221,9 +221,9 @@ class CSSAnimationUpdate final {
DEFINE_INLINE_TRACE() { visitor->Trace(effect); }
PropertyHandle property = HashTraits<blink::PropertyHandle>::EmptyValue();
- RefPtr<AnimatableValue> from;
- RefPtr<AnimatableValue> to;
- RefPtr<AnimatableValue> reversing_adjusted_start_value;
+ RefPtr<const ComputedStyle> from;
+ RefPtr<const ComputedStyle> to;
+ RefPtr<const ComputedStyle> reversing_adjusted_start_value;
double reversing_shortening_factor;
Member<const InertEffect> effect;
};

Powered by Google App Engine
This is Rietveld 408576698