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

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

Issue 133203003: Generate toSVGFooElement() for SVGFELight|AnimateMotion|FontFaceSrc|TextPositioningElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/SVGTextPositioningElement.cpp
diff --git a/Source/core/svg/SVGTextPositioningElement.cpp b/Source/core/svg/SVGTextPositioningElement.cpp
index f54fc7fecc34b3acb2ecf91314b88a13de1ea125..e3b77963f6130092882ff9784c325b671afcdf4a 100644
--- a/Source/core/svg/SVGTextPositioningElement.cpp
+++ b/Source/core/svg/SVGTextPositioningElement.cpp
@@ -148,7 +148,7 @@ SVGTextPositioningElement* SVGTextPositioningElement::elementFromRenderer(Render
&& !node->hasTagName(SVGNames::tspanTag))
return 0;
- return static_cast<SVGTextPositioningElement*>(node);
+ return toSVGTextPositioningElement(node);
Stephen Chennney 2014/01/10 12:32:53 This is a change in behavior. The previous code ca
gyuyoung-inactive 2014/01/12 04:37:31 yes, tosVGTextPositionElement() has wrong behavior
}
}
« Source/core/svg/SVGTextPositioningElement.h ('K') | « Source/core/svg/SVGTextPositioningElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698