Index: third_party/WebKit/Source/core/svg/SVGElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
index dacddb325e44aeb7bc36b7d7c06a9ecf759f8bb1..cf78f5f1e19f20a74fe21a3ca192b3b7638bd141 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
@@ -32,6 +32,7 @@ |
#include "core/animation/ElementAnimations.h" |
#include "core/animation/InterpolationEnvironment.h" |
#include "core/animation/InvalidatableInterpolation.h" |
+#include "core/animation/KeyframeEffectReadOnly.h" |
#include "core/css/CSSCursorImageValue.h" |
#include "core/css/resolver/StyleResolver.h" |
#include "core/dom/Document.h" |
@@ -227,7 +228,7 @@ static bool isSVGAttributeHandle(const PropertyHandle& propertyHandle) |
void SVGElement::applyActiveWebAnimations() |
{ |
ActiveInterpolationsMap activeInterpolationsMap = AnimationStack::activeInterpolations( |
- &elementAnimations()->animationStack(), nullptr, nullptr, KeyframeEffect::DefaultPriority, isSVGAttributeHandle); |
+ &elementAnimations()->animationStack(), nullptr, nullptr, KeyframeEffectReadOnly::DefaultPriority, isSVGAttributeHandle); |
for (auto& entry : activeInterpolationsMap) { |
const QualifiedName& attribute = entry.key.svgAttribute(); |
InterpolationEnvironment environment(*this, propertyFromAttribute(attribute)->baseValueBase()); |