| Index: Source/core/svg/SVGTextContentElement.h
|
| diff --git a/Source/core/svg/SVGTextContentElement.h b/Source/core/svg/SVGTextContentElement.h
|
| index 4893dc72ee2457896fc96334b5dbe9aabe52ec46..e713e1ed51ba75758c997459c9192518d5508fd3 100644
|
| --- a/Source/core/svg/SVGTextContentElement.h
|
| +++ b/Source/core/svg/SVGTextContentElement.h
|
| @@ -82,12 +82,12 @@ private:
|
| RefPtr<SVGAnimatedEnumeration<SVGLengthAdjustType> > m_lengthAdjust;
|
| };
|
|
|
| -inline bool isSVGTextContentElement(const Node& node)
|
| +inline bool isSVGTextContentElement(const SVGElement& element)
|
| {
|
| - return node.isSVGElement() && toSVGElement(node).isTextContent();
|
| + return element.isTextContent();
|
| }
|
|
|
| -DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextContentElement);
|
| +DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextContentElement);
|
|
|
| } // namespace blink
|
|
|
|
|