Index: Source/core/layout/BidiRunForLine.cpp |
diff --git a/Source/core/layout/BidiRunForLine.cpp b/Source/core/layout/BidiRunForLine.cpp |
index 8e5e7e3fd526041455a9ea81d78559e8c6386b7d..9260e6085fd779ee03f61362dea128414f9de504 100644 |
--- a/Source/core/layout/BidiRunForLine.cpp |
+++ b/Source/core/layout/BidiRunForLine.cpp |
@@ -55,7 +55,7 @@ static LayoutObject* firstLayoutObjectForDirectionalityDetermination( |
while (current) { |
next = 0; |
if (isIteratorTarget(current) && !(current->isText() |
- && toRenderText(current)->isAllCollapsibleWhitespace())) |
+ && toLayoutText(current)->isAllCollapsibleWhitespace())) |
break; |
if (!isIteratorTarget(current) |