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

Unified Diff: Source/core/svg/SVGTextPathElement.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/SVGTextPathElement.cpp
diff --git a/Source/core/svg/SVGTextPathElement.cpp b/Source/core/svg/SVGTextPathElement.cpp
index 6ca2a98f97d871822a903ba0a3ee0ef2cf69b904..e0f85cb30ecfa022463c5566f7631cd27fc52c38 100644
--- a/Source/core/svg/SVGTextPathElement.cpp
+++ b/Source/core/svg/SVGTextPathElement.cpp
@@ -161,7 +161,7 @@ void SVGTextPathElement::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))
@@ -194,7 +194,7 @@ void SVGTextPathElement::removedFrom(ContainerNode* rootParent)
bool SVGTextPathElement::selfHasRelativeLengths() const
{
- return startOffset().isRelative()
+ return startOffsetCurrentValue().isRelative()
|| SVGTextContentElement::selfHasRelativeLengths();
}

Powered by Google App Engine
This is Rietveld 408576698