Index: Source/core/paint/TextPainterTest.cpp |
diff --git a/Source/core/paint/TextPainterTest.cpp b/Source/core/paint/TextPainterTest.cpp |
index d15c1bcff5137968942ad7a0e9c59caf803db888..d152afc10a3ebfbf3ec4572ce49f5a104d20a9b0 100644 |
--- a/Source/core/paint/TextPainterTest.cpp |
+++ b/Source/core/paint/TextPainterTest.cpp |
@@ -30,7 +30,7 @@ private: |
{ |
RenderingTest::SetUp(); |
setBodyInnerHTML("Hello world"); |
- m_renderText = toLayoutText(document().body()->firstChild()->renderer()); |
+ m_renderText = toLayoutText(document().body()->firstChild()->layoutObject()); |
ASSERT_TRUE(m_renderText); |
ASSERT_EQ("Hello world", m_renderText->text()); |
} |