Index: third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp |
index 0aaefe3a2d0bf319c06df134cbed4a3f70e92a69..ca9ab5db0fccf17821157f6925d98cfa6f931d27 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp |
@@ -38,12 +38,6 @@ SVGAnimatedEnumerationBase::~SVGAnimatedEnumerationBase() {} |
void SVGAnimatedEnumerationBase::setBaseVal(unsigned short value, |
ExceptionState& exceptionState) { |
- if (this->isReadOnly()) { |
- exceptionState.throwDOMException(NoModificationAllowedError, |
- "The attribute is read-only."); |
- return; |
- } |
- |
if (!value) { |
exceptionState.throwTypeError( |
"The enumeration value provided is 0, which is not settable."); |