Index: Source/core/rendering/svg/RenderSVGInlineText.h |
diff --git a/Source/core/rendering/svg/RenderSVGInlineText.h b/Source/core/rendering/svg/RenderSVGInlineText.h |
index 30a0a2afa2009063e54e7c49aa5f16d91a932ea5..e9491d12695dd59b501f10a57da258c8c4f68c81 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; |