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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp

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/KeyframeEffectModel.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
index 8e901cbb840d7ca9f3ad6fbc7aca0e8ffbc99870..fd12a410ddc1a7d44cca10e7e3290f732e91f9dc 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
@@ -90,7 +90,8 @@ bool KeyframeEffectModelBase::SnapshotNeutralCompositorKeyframes(
bool updated = false;
EnsureKeyframeGroups();
for (CSSPropertyID property : CompositorAnimations::kCompositableProperties) {
- if (CSSPropertyEquality::PropertiesEqual(property, old_style, new_style))
+ if (CSSPropertyEquality::PropertiesEqual(PropertyHandle(property),
+ old_style, new_style))
continue;
PropertySpecificKeyframeGroup* keyframe_group =
keyframe_groups_->at(PropertyHandle(property));

Powered by Google App Engine
This is Rietveld 408576698