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

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

Issue 2548533003: Avoid repeating ourselves in SVGAnimatedEnumerationBase::setBaseVal (Closed)
Patch Set: 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 | no next file » | 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 ca9ab5db0fccf17821157f6925d98cfa6f931d27..ce35853763c7587b9247f37146383a7766626b4f 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp
@@ -52,13 +52,7 @@ void SVGAnimatedEnumerationBase::setBaseVal(unsigned short value,
return;
}
- baseValue()->setValue(value);
-
- m_baseValueUpdated = true;
-
- ASSERT(this->attributeName() != QualifiedName::null());
- contextElement()->invalidateSVGAttributes();
- contextElement()->svgAttributeBaseValChanged(this->attributeName());
+ SVGAnimatedProperty<SVGEnumerationBase>::setBaseVal(value, exceptionState);
}
} // namespace blink
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698