Index: third_party/WebKit/Source/core/animation/SampledEffect.cpp |
diff --git a/third_party/WebKit/Source/core/animation/SampledEffect.cpp b/third_party/WebKit/Source/core/animation/SampledEffect.cpp |
index b65726ac52d1880aedd201ded581ee7adf2b2e0f..06a29fd0a7aca276df6a37e6b80dfeb29bd8aed9 100644 |
--- a/third_party/WebKit/Source/core/animation/SampledEffect.cpp |
+++ b/third_party/WebKit/Source/core/animation/SampledEffect.cpp |
@@ -33,22 +33,4 @@ DEFINE_TRACE(SampledEffect) |
visitor->trace(m_animation); |
} |
-void SampledEffect::applySVGUpdate(SVGElement& targetElement) |
-{ |
- for (const auto& interpolation : m_interpolations) { |
- if (interpolation->isSVGInterpolation()) { |
- toSVGInterpolation(interpolation.get())->apply(targetElement); |
- } else if (interpolation->isInvalidatableInterpolation()) { |
- const InvalidatableInterpolation& invalidatableInterpolation = toInvalidatableInterpolation(*interpolation); |
- if (invalidatableInterpolation.property().isSVGAttribute()) { |
- const SVGPropertyBase& baseValue = targetElement.propertyFromAttribute(invalidatableInterpolation.property().svgAttribute())->baseValueBase(); |
- InterpolationEnvironment environment(targetElement, baseValue); |
- ActiveInterpolations activeInterpolations(1); |
- activeInterpolations[0] = interpolation.get(); |
- InvalidatableInterpolation::applyStack(activeInterpolations, environment); |
- } |
- } |
- } |
-} |
- |
} // namespace blink |