Index: third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp |
index f1224ebba8ab41949644f0a9d4e0ac05b37f5f36..cffb3a6d176b56a63979c2380eda150fcbeeac77 100644 |
--- a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp |
@@ -4,13 +4,13 @@ |
#include "core/animation/SVGLengthInterpolationType.h" |
-#include "core/animation/InterpolationEnvironment.h" |
+#include <memory> |
+#include "core/animation/SVGInterpolationEnvironment.h" |
#include "core/animation/StringKeyframe.h" |
#include "core/css/CSSHelper.h" |
#include "core/svg/SVGElement.h" |
#include "core/svg/SVGLength.h" |
#include "core/svg/SVGLengthContext.h" |
-#include <memory> |
namespace blink { |
@@ -115,7 +115,7 @@ void SVGLengthInterpolationType::Apply( |
const InterpolableValue& interpolable_value, |
const NonInterpolableValue* non_interpolable_value, |
InterpolationEnvironment& environment) const { |
- SVGElement& element = environment.SvgElement(); |
+ SVGElement& element = ToSVGInterpolationEnvironment(environment).SvgElement(); |
SVGLengthContext length_context(&element); |
element.SetWebAnimatedAttribute( |
Attribute(), |