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 77476654eb6539630a8f07256cb0ae05ba2ed03b..02a6b5c162d645d4f09f4d83a8b4c8a562dd6d14 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/MediaTypeNames.h" |
#include "core/StylePropertyShorthand.h" |
#include "core/animation/AnimationTimeline.h" |
+#include "core/animation/CSSInterpolationTypesMap.h" |
#include "core/animation/ElementAnimations.h" |
#include "core/animation/InterpolationEnvironment.h" |
#include "core/animation/InvalidatableInterpolation.h" |
@@ -1230,7 +1231,8 @@ void StyleResolver::applyAnimatedProperties( |
continue; |
const Interpolation& interpolation = *entry.value.front(); |
if (interpolation.isInvalidatableInterpolation()) { |
- InterpolationEnvironment environment(state); |
+ CSSInterpolationTypesMap map(state.document().propertyRegistry()); |
+ InterpolationEnvironment environment(map, state); |
InvalidatableInterpolation::applyStack(entry.value, environment); |
} else { |
// TODO(alancutter): Remove this old code path once animations have |