Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp

Issue 2537223006: Cleanup after removal of the SVGViewSpec interface (Closed)
Patch Set: SVGViewSpec& Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGFitToViewBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.");
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGFitToViewBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698