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

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

Issue 1917843002: Return the 'active' value for SVGURIReference.href.animVal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just a note Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/href-semantics.html ('k') | 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/SVGAnimatedHref.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedHref.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedHref.cpp
index 9952ea579189daad1aa12500d68a500e58054310..09adda54bc5a5bb71fe4b20d725a9e10d9abdc88 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedHref.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedHref.cpp
@@ -64,8 +64,7 @@ void SVGAnimatedHref::setBaseVal(const String& value, ExceptionState& exceptionS
String SVGAnimatedHref::animVal()
{
UseCounter::count(contextElement()->document(), UseCounter::SVGHrefAnimVal);
- // We should only animate (non-XLink) 'href'.
- return SVGAnimatedString::animVal();
+ return backingString()->SVGAnimatedString::animVal();
}
SVGAnimatedString* SVGAnimatedHref::backingString()
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/href-semantics.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698