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

Unified Diff: Source/core/svg/SVGAElement.cpp

Issue 19097005: Remove one SVG animated type special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix the regressions Created 7 years, 5 months 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
Index: Source/core/svg/SVGAElement.cpp
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
index bee646a889558eb3cc5089ba59f69fdc4165af94..cd939f70b99c40ab425adf18aa37f24dbfc06aa0 100644
--- a/Source/core/svg/SVGAElement.cpp
+++ b/Source/core/svg/SVGAElement.cpp
@@ -135,7 +135,7 @@ void SVGAElement::svgAttributeChanged(const QualifiedName& attrName)
// as none of the other properties changes the linking behaviour for our <a> element.
if (SVGURIReference::isKnownAttribute(attrName)) {
bool wasLink = isLink();
- setIsLink(!href().isNull());
+ setIsLink(!hrefCurrentValue().isNull());
if (wasLink != isLink())
setNeedsStyleRecalc();
@@ -160,7 +160,7 @@ void SVGAElement::defaultEventHandler(Event* event)
}
if (isLinkClick(event)) {
- String url = stripLeadingAndTrailingHTMLSpaces(href());
+ String url = stripLeadingAndTrailingHTMLSpaces(hrefCurrentValue());
if (url[0] == '#') {
Element* targetElement = treeScope()->getElementById(url.substring(1));

Powered by Google App Engine
This is Rietveld 408576698