Index: third_party/WebKit/Source/core/svg/SVGLength.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGLength.h b/third_party/WebKit/Source/core/svg/SVGLength.h |
index 171cd286aa7514b5fbc16b5c07135170c4fda246..f5c7477301de529a56f35ec70d8b90f505150802 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLength.h |
+++ b/third_party/WebKit/Source/core/svg/SVGLength.h |
@@ -31,11 +31,6 @@ namespace blink { |
class ExceptionState; |
class QualifiedName; |
-enum SVGLengthNegativeValuesMode { |
- AllowNegativeLengths, |
- ForbidNegativeLengths |
-}; |
- |
class SVGLengthTearOff; |
class SVGLength final : public SVGPropertyBase { |
@@ -104,6 +99,7 @@ public: |
} |
static SVGLengthMode lengthModeForAnimatedLengthAttribute(const QualifiedName&); |
+ static bool negativeValuesForbiddenForAnimatedLengthAttribute(const QualifiedName&); |
void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override; |
void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override; |