Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1067)

Unified Diff: Source/core/layout/svg/LayoutSVGInlineText.h

Issue 940373003: Rename RenderText to LayoutText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/style/ContentData.cpp ('k') | Source/core/layout/svg/LayoutSVGInlineText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/layout/style/ContentData.cpp ('k') | Source/core/layout/svg/LayoutSVGInlineText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698