Index: Source/core/layout/line/InlineTextBox.h |
diff --git a/Source/core/layout/line/InlineTextBox.h b/Source/core/layout/line/InlineTextBox.h |
index 22c1013d14fbc809bca7e3c3df17c8a11e63f371..54b1b77931f70778416840c184ac8c58a6b44484 100644 |
--- a/Source/core/layout/line/InlineTextBox.h |
+++ b/Source/core/layout/line/InlineTextBox.h |
@@ -23,9 +23,9 @@ |
#ifndef InlineTextBox_h |
#define InlineTextBox_h |
+#include "core/layout/LayoutText.h" // so textRenderer() can be inline |
#include "core/layout/line/FloatToLayoutUnit.h" |
#include "core/layout/line/InlineBox.h" |
-#include "core/rendering/RenderText.h" // so textRenderer() can be inline |
#include "platform/text/TextRun.h" |
#include "wtf/Forward.h" |
@@ -50,7 +50,7 @@ public: |
setIsText(true); |
} |
- RenderText& renderer() const { return toRenderText(InlineBox::renderer()); } |
+ LayoutText& renderer() const { return toLayoutText(InlineBox::renderer()); } |
virtual void destroy() override final; |