Chromium Code Reviews| 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
|
| } |
| } |