| Index: third_party/WebKit/Source/core/animation/SVGInterpolation.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/SVGInterpolation.cpp b/third_party/WebKit/Source/core/animation/SVGInterpolation.cpp
|
| deleted file mode 100644
|
| index ee5515078a5e7f8322210f7a16637ef84443b781..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/core/animation/SVGInterpolation.cpp
|
| +++ /dev/null
|
| @@ -1,29 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "config.h"
|
| -#include "core/animation/SVGInterpolation.h"
|
| -
|
| -#include "core/svg/SVGAnimateElement.h" // findElementInstances
|
| -
|
| -namespace blink {
|
| -
|
| -void SVGInterpolation::apply(SVGElement& targetElement) const
|
| -{
|
| - SVGElement::InstanceUpdateBlocker blocker(&targetElement);
|
| - RefPtrWillBeRawPtr<SVGPropertyBase> value = interpolatedValue(targetElement);
|
| - SVGElementInstances instances = SVGAnimateElement::findElementInstances(&targetElement);
|
| -
|
| - for (SVGElement* element : instances) {
|
| - RefPtrWillBeRawPtr<SVGAnimatedPropertyBase> animatedProperty =
|
| - element->propertyFromAttribute(attributeName());
|
| - if (animatedProperty) {
|
| - animatedProperty->setAnimatedValue(value);
|
| - element->invalidateSVGAttributes();
|
| - element->svgAttributeChanged(attributeName());
|
| - }
|
| - }
|
| -}
|
| -
|
| -}
|
|
|