Index: Source/core/layout/line/LineBoxList.cpp |
diff --git a/Source/core/layout/line/LineBoxList.cpp b/Source/core/layout/line/LineBoxList.cpp |
index 9099581effa3a4c7f470ea689bc4ae1dd4db0656..fab64b082eafd3101f47c883ac17be3aeeaddcc8 100644 |
--- a/Source/core/layout/line/LineBoxList.cpp |
+++ b/Source/core/layout/line/LineBoxList.cpp |
@@ -266,7 +266,7 @@ void LineBoxList::dirtyLinesFromChangedChild(LayoutObject* container, LayoutObje |
if (wrapper) |
box = &wrapper->root(); |
} else if (curr->isText()) { |
- InlineTextBox* textBox = toRenderText(curr)->lastTextBox(); |
+ InlineTextBox* textBox = toLayoutText(curr)->lastTextBox(); |
if (textBox) |
box = &textBox->root(); |
} else if (curr->isLayoutInline()) { |