| Index: third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp
|
| index 3aa32851b1d116585612a237bda2cce3612a40a0..53c18598cbf8492608994edd6b24b1c70f3a2baf 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp
|
| @@ -30,8 +30,6 @@
|
|
|
| #include "core/svg/SVGNumberTearOff.h"
|
|
|
| -#include "bindings/core/v8/ExceptionState.h"
|
| -#include "core/dom/ExceptionCode.h"
|
| #include "core/svg/SVGElement.h"
|
|
|
| namespace blink {
|
| @@ -44,10 +42,9 @@ SVGNumberTearOff::SVGNumberTearOff(SVGNumber* target, SVGElement* contextElement
|
| void SVGNumberTearOff::setValue(float f, ExceptionState& exceptionState)
|
| {
|
| if (isImmutable()) {
|
| - exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
|
| + throwReadOnly(exceptionState);
|
| return;
|
| }
|
| -
|
| target()->setValue(f);
|
| commitChange();
|
| }
|
|
|