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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.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/CSSAnimations.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.h b/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
index a901524ebd45663d0e0752fc90760646bcbd1bee..f47c4b2122a573913ce26834340069ff227e10f3 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
@@ -144,9 +144,9 @@ class CSSAnimations final {
DEFINE_INLINE_TRACE() { visitor->Trace(animation); }
Member<Animation> animation;
- 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;
};
@@ -165,6 +165,7 @@ class CSSAnimations final {
Member<const Element> animating_element;
const ComputedStyle& old_style;
const ComputedStyle& style;
+ RefPtr<const ComputedStyle> cloned_style;
const TransitionMap* active_transitions;
HashSet<PropertyHandle>& listed_properties;
const CSSTransitionData& transition_data;

Powered by Google App Engine
This is Rietveld 408576698