Index: Source/core/dom/RenderTreeBuilder.cpp |
diff --git a/Source/core/dom/RenderTreeBuilder.cpp b/Source/core/dom/RenderTreeBuilder.cpp |
index c5fc8d8f244bb6c97a51e1704f2709080f38c331..3cba222e2d6690ec54a008409c8156c9d1518d92 100644 |
--- a/Source/core/dom/RenderTreeBuilder.cpp |
+++ b/Source/core/dom/RenderTreeBuilder.cpp |
@@ -36,8 +36,8 @@ |
#include "core/dom/Text.h" |
#include "core/layout/LayoutFullScreen.h" |
#include "core/layout/LayoutObject.h" |
+#include "core/layout/LayoutText.h" |
#include "core/layout/LayoutView.h" |
-#include "core/rendering/RenderText.h" |
#include "core/svg/SVGElement.h" |
#include "platform/RuntimeEnabledFeatures.h" |
@@ -153,7 +153,7 @@ void RenderTreeBuilderForText::createRenderer() |
ASSERT(m_node->textRendererIsNeeded(*style, *parentRenderer)); |
- RenderText* newRenderer = m_node->createTextRenderer(style); |
+ LayoutText* newRenderer = m_node->createTextRenderer(style); |
if (!parentRenderer->isChildAllowed(newRenderer, *style)) { |
newRenderer->destroy(); |
return; |