| Index: third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp
|
| index bf54278ea96d5b1d738980aa6998c26b3b35f90b..f3f40da4c6df30899de61c9c7aad29e2c90e8daf 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp
|
| @@ -78,16 +78,4 @@ void SVGTextPositioningElement::svgAttributeChanged(const QualifiedName& attrNam
|
| SVGTextContentElement::svgAttributeChanged(attrName);
|
| }
|
|
|
| -SVGTextPositioningElement* SVGTextPositioningElement::elementFromLayoutObject(LayoutObject& layoutObject)
|
| -{
|
| - if (!layoutObject.isSVGText() && !layoutObject.isSVGInline())
|
| - return nullptr;
|
| -
|
| - Node* node = layoutObject.node();
|
| - ASSERT(node);
|
| - ASSERT(node->isSVGElement());
|
| -
|
| - return isSVGTextPositioningElement(*node) ? toSVGTextPositioningElement(node) : 0;
|
| -}
|
| -
|
| } // namespace blink
|
|
|