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

Unified Diff: Source/core/svg/SVGMPathElement.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/SVGMPathElement.cpp
diff --git a/Source/core/svg/SVGMPathElement.cpp b/Source/core/svg/SVGMPathElement.cpp
index a59752762a1ff24ca3da4d055b51e461129fc236..93a21c87b638f2bbd36d7c2741491aa65dc7919d 100644
--- a/Source/core/svg/SVGMPathElement.cpp
+++ b/Source/core/svg/SVGMPathElement.cpp
@@ -64,7 +64,7 @@ void SVGMPathElement::buildPendingResource()
return;
String id;
- Element* target = SVGURIReference::targetElementFromIRIString(href(), document(), &id);
+ Element* target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id);
if (!target) {
// Do not register as pending if we are already pending this resource.
if (document()->accessSVGExtensions()->isElementPendingResource(this, id))
@@ -152,7 +152,7 @@ void SVGMPathElement::svgAttributeChanged(const QualifiedName& attrName)
SVGPathElement* SVGMPathElement::pathElement()
{
- Element* target = targetElementFromIRIString(href(), document());
+ Element* target = targetElementFromIRIString(hrefCurrentValue(), document());
if (target && target->hasTagName(SVGNames::pathTag))
return static_cast<SVGPathElement*>(target);
return 0;

Powered by Google App Engine
This is Rietveld 408576698