Index: third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp |
index 086ba1017cf44b0a20df2d40e9d07738867c3072..c3a09d98ab0d3b79e7bc3b6fe1bb31b67a618227 100644 |
--- a/third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp |
@@ -6,8 +6,8 @@ |
#include <memory> |
#include "core/animation/InterpolableValue.h" |
-#include "core/animation/InterpolationEnvironment.h" |
#include "core/animation/NonInterpolableValue.h" |
+#include "core/animation/SVGInterpolationEnvironment.h" |
#include "core/animation/StringKeyframe.h" |
#include "core/svg/SVGTransform.h" |
#include "core/svg/SVGTransformList.h" |
@@ -252,8 +252,10 @@ InterpolationValue SVGTransformListInterpolationType::MaybeConvertSingle( |
} |
if (!keyframe.IsNeutral()) { |
- SVGPropertyBase* svg_value = environment.SvgBaseValue().CloneForAnimation( |
- ToSVGPropertySpecificKeyframe(keyframe).Value()); |
+ SVGPropertyBase* svg_value = |
+ ToSVGInterpolationEnvironment(environment) |
+ .SvgBaseValue() |
+ .CloneForAnimation(ToSVGPropertySpecificKeyframe(keyframe).Value()); |
InterpolationValue value = MaybeConvertSVGValue(*svg_value); |
if (!value) |
return nullptr; |