Index: third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp |
index 89a91804bf9850908c6c78724dfa87b7434bdcfd..01405c27035c1f9755a03c28c2f335145440dbc1 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp |
@@ -30,8 +30,6 @@ |
#include "core/svg/SVGTransformListTearOff.h" |
-#include "bindings/core/v8/ExceptionState.h" |
-#include "core/dom/ExceptionCode.h" |
#include "core/svg/SVGSVGElement.h" |
namespace blink { |
@@ -53,10 +51,9 @@ SVGTransformTearOff* SVGTransformListTearOff::createSVGTransformFromMatrix(SVGMa |
SVGTransformTearOff* SVGTransformListTearOff::consolidate(ExceptionState& exceptionState) |
{ |
if (isImmutable()) { |
- exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); |
+ throwReadOnly(exceptionState); |
return nullptr; |
} |
- |
return createItemTearOff(target()->consolidate()); |
} |