Index: third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.h |
diff --git a/third_party/WebKit/Source/core/animation/SVGNumberInterpolationType.h b/third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.h |
similarity index 67% |
copy from third_party/WebKit/Source/core/animation/SVGNumberInterpolationType.h |
copy to third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.h |
index f0f432d5b857aa390b28a363b13f032a5953019f..fe75895e9d7e7eaa35533c1a6d9490313af9527f 100644 |
--- a/third_party/WebKit/Source/core/animation/SVGNumberInterpolationType.h |
+++ b/third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.h |
@@ -2,29 +2,26 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef SVGNumberInterpolationType_h |
-#define SVGNumberInterpolationType_h |
+#ifndef SVGNumberOptionalNumberInterpolationType_h |
+#define SVGNumberOptionalNumberInterpolationType_h |
#include "core/animation/NumberAttributeFunctions.h" |
#include "core/animation/SVGInterpolationType.h" |
namespace blink { |
-class SVGNumberInterpolationType : public SVGInterpolationType { |
+class SVGNumberOptionalNumberInterpolationType : public SVGInterpolationType { |
public: |
- SVGNumberInterpolationType(const QualifiedName& attribute) |
+ SVGNumberOptionalNumberInterpolationType(const QualifiedName& attribute) |
: SVGInterpolationType(attribute) |
- , m_isNonNegative(NumberAttributeFunctions::isNonNegative(attribute)) |
{ } |
private: |
PassOwnPtr<InterpolationValue> maybeConvertNeutral(const UnderlyingValue&, ConversionCheckers&) const final; |
PassOwnPtr<InterpolationValue> maybeConvertSVGValue(const SVGPropertyBase& svgValue) const final; |
PassRefPtrWillBeRawPtr<SVGPropertyBase> appliedSVGValue(const InterpolableValue&, const NonInterpolableValue*) const final; |
- |
- bool m_isNonNegative; |
}; |
} // namespace blink |
-#endif // SVGNumberInterpolationType_h |
+#endif // SVGNumberOptionalNumberInterpolationType_h |