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 325378a5146f92bb151fc28454fd6a1e57be3cc1..4bbb21111c8aafdab4119820812efc4ddda1b7d1 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -35,6 +35,7 @@ |
#include "core/StylePropertyShorthand.h" |
#include "core/animation/AnimationTimeline.h" |
#include "core/animation/ElementAnimations.h" |
+#include "core/animation/InterpolationEnvironment.h" |
#include "core/animation/InvalidatableStyleInterpolation.h" |
#include "core/animation/KeyframeEffect.h" |
#include "core/animation/StyleInterpolation.h" |
@@ -967,7 +968,8 @@ void StyleResolver::applyAnimatedProperties(StyleResolverState& state, const Act |
continue; |
const Interpolation& interpolation = *interpolationsVectorEntry.value.first(); |
if (interpolation.isInvalidatableStyleInterpolation()) { |
- InvalidatableStyleInterpolation::applyStack(interpolationsVectorEntry.value, state); |
+ InterpolationEnvironment environment(state); |
+ InvalidatableStyleInterpolation::applyStack(interpolationsVectorEntry.value, environment); |
} else { |
// TODO(alancutter): Remove this old code path once animations have completely migrated to InterpolationTypes. |
toStyleInterpolation(interpolation).apply(state); |