Index: Source/WebCore/rendering/RenderBlockLineLayout.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBlockLineLayout.cpp (revision 109351) |
+++ Source/WebCore/rendering/RenderBlockLineLayout.cpp (working copy) |
@@ -2335,7 +2335,7 @@ |
midWordBreak = width.committedWidth() + wrapW + charWidth > width.availableWidth(); |
} |
- if (lineBreakIteratorInfo.first != t) { |
+ if ((lineBreakIteratorInfo.first != t) || (lineBreakIteratorInfo.second.string() != t->characters())) { |
lineBreakIteratorInfo.first = t; |
lineBreakIteratorInfo.second.reset(t->characters(), t->textLength(), style->locale()); |
} |