Index: Source/core/rendering/svg/RenderSVGInlineText.h |
diff --git a/Source/core/rendering/svg/RenderSVGInlineText.h b/Source/core/rendering/svg/RenderSVGInlineText.h |
index 182ad5a0420d48c4da96d7b61df2619c20fd995c..abbb6d9528a8040c42a05e57d6d0bda8c583ddba 100644 |
--- a/Source/core/rendering/svg/RenderSVGInlineText.h |
+++ b/Source/core/rendering/svg/RenderSVGInlineText.h |
@@ -51,8 +51,7 @@ private: |
virtual FloatRect objectBoundingBox() const override { return floatLinesBoundingBox(); } |
- virtual bool isSVGInlineText() const override { return true; } |
- virtual bool isSVG() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVG || type == RenderObjectSVGInlineText || RenderText::isOfType(type); } |
virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = 0) override; |