| Index: Source/core/layout/svg/LayoutSVGInlineText.h
|
| diff --git a/Source/core/layout/svg/LayoutSVGInlineText.h b/Source/core/layout/svg/LayoutSVGInlineText.h
|
| index 0e04f0eb604a6a5b82e4b1e16ee57e2e86051606..936a3a2f3c0c8ea720470ed3a14cefc3bd17bbdf 100644
|
| --- a/Source/core/layout/svg/LayoutSVGInlineText.h
|
| +++ b/Source/core/layout/svg/LayoutSVGInlineText.h
|
| @@ -22,12 +22,12 @@
|
| #ifndef LayoutSVGInlineText_h
|
| #define LayoutSVGInlineText_h
|
|
|
| +#include "core/layout/LayoutText.h"
|
| #include "core/layout/svg/SVGTextLayoutAttributes.h"
|
| -#include "core/rendering/RenderText.h"
|
|
|
| namespace blink {
|
|
|
| -class LayoutSVGInlineText final : public RenderText {
|
| +class LayoutSVGInlineText final : public LayoutText {
|
| public:
|
| LayoutSVGInlineText(Node*, PassRefPtr<StringImpl>);
|
|
|
| @@ -53,7 +53,7 @@ private:
|
|
|
| virtual FloatRect objectBoundingBox() const override { return floatLinesBoundingBox(); }
|
|
|
| - virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || type == LayoutObjectSVGInlineText || RenderText::isOfType(type); }
|
| + virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || type == LayoutObjectSVGInlineText || LayoutText::isOfType(type); }
|
|
|
| virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override;
|
| virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = 0) override;
|
|
|