Index: Source/core/layout/line/LineBoxList.cpp |
diff --git a/Source/core/layout/line/LineBoxList.cpp b/Source/core/layout/line/LineBoxList.cpp |
index 8d23968d0a82f27d011799f24a59abc4eb2d12a5..70b943a90a96826c28a06feaad0aa07498cadee3 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->isRenderInline()) { |