Index: Source/core/paint/TextPainterTest.cpp |
diff --git a/Source/core/paint/TextPainterTest.cpp b/Source/core/paint/TextPainterTest.cpp |
index 5a17a01af28cdd7543b4fe322b617543eb32ee20..d15c1bcff5137968942ad7a0e9c59caf803db888 100644 |
--- a/Source/core/paint/TextPainterTest.cpp |
+++ b/Source/core/paint/TextPainterTest.cpp |
@@ -10,9 +10,9 @@ |
#include "core/css/CSSPrimitiveValue.h" |
#include "core/frame/Settings.h" |
#include "core/layout/LayoutTestHelper.h" |
+#include "core/layout/LayoutText.h" |
#include "core/layout/style/ShadowData.h" |
#include "core/layout/style/ShadowList.h" |
-#include "core/rendering/RenderText.h" |
#include <gtest/gtest.h> |
namespace blink { |
@@ -23,19 +23,19 @@ public: |
TextPainterTest() : m_renderText(nullptr) { } |
protected: |
- RenderText* renderText() { return m_renderText; } |
+ LayoutText* renderText() { return m_renderText; } |
private: |
virtual void SetUp() override |
{ |
RenderingTest::SetUp(); |
setBodyInnerHTML("Hello world"); |
- m_renderText = toRenderText(document().body()->firstChild()->renderer()); |
+ m_renderText = toLayoutText(document().body()->firstChild()->renderer()); |
ASSERT_TRUE(m_renderText); |
ASSERT_EQ("Hello world", m_renderText->text()); |
} |
- RenderText* m_renderText; |
+ LayoutText* m_renderText; |
}; |
TEST_F(TextPainterTest, TextPaintingStyle_Simple) |