| Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| index d9ea1458f96b5909dbbb8a7c0d8d9414eb1ada8b..28e9fd43fb7fb9fc6f01c2ce56d491e0010c22b0 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -960,16 +960,14 @@ StyleRuleKeyframes* StyleResolver::findKeyframesRule(const Element* element, con
|
| template <CSSPropertyPriority priority>
|
| void StyleResolver::applyAnimatedProperties(StyleResolverState& state, const ActiveInterpolationsMap& activeInterpolationsMap)
|
| {
|
| - for (const auto& interpolationsVectorEntry : activeInterpolationsMap) {
|
| - if (!interpolationsVectorEntry.key.isCSSProperty())
|
| - continue;
|
| - CSSPropertyID property = interpolationsVectorEntry.key.cssProperty();
|
| + for (const auto& entry : activeInterpolationsMap) {
|
| + CSSPropertyID property = entry.key.cssProperty();
|
| if (!CSSPropertyPriorityData<priority>::propertyHasPriority(property))
|
| continue;
|
| - const Interpolation& interpolation = *interpolationsVectorEntry.value.first();
|
| + const Interpolation& interpolation = *entry.value.first();
|
| if (interpolation.isInvalidatableInterpolation()) {
|
| InterpolationEnvironment environment(state);
|
| - InvalidatableInterpolation::applyStack(interpolationsVectorEntry.value, environment);
|
| + InvalidatableInterpolation::applyStack(entry.value, environment);
|
| } else {
|
| // TODO(alancutter): Remove this old code path once animations have completely migrated to InterpolationTypes.
|
| toStyleInterpolation(interpolation).apply(state);
|
|
|