Index: Source/core/layout/style/ContentData.cpp |
diff --git a/Source/core/layout/style/ContentData.cpp b/Source/core/layout/style/ContentData.cpp |
index 3eff24611f47d2aef000cd295961016f94fb166f..125d1343470bf625e9ed8b01ec9cc638729f1771 100644 |
--- a/Source/core/layout/style/ContentData.cpp |
+++ b/Source/core/layout/style/ContentData.cpp |
@@ -27,8 +27,8 @@ |
#include "core/layout/LayoutImageResource.h" |
#include "core/layout/LayoutImageResourceStyleImage.h" |
#include "core/layout/LayoutQuote.h" |
+#include "core/layout/LayoutTextFragment.h" |
#include "core/layout/style/LayoutStyle.h" |
-#include "core/rendering/RenderTextFragment.h" |
namespace blink { |
@@ -79,7 +79,7 @@ LayoutObject* ImageContentData::createRenderer(Document& doc, LayoutStyle& pseud |
LayoutObject* TextContentData::createRenderer(Document& doc, LayoutStyle& pseudoStyle) const |
{ |
- LayoutObject* renderer = new RenderTextFragment(&doc, m_text.impl()); |
+ LayoutObject* renderer = new LayoutTextFragment(&doc, m_text.impl()); |
renderer->setPseudoStyle(&pseudoStyle); |
return renderer; |
} |