Index: Source/WebCore/rendering/RenderBlockLineLayout.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBlockLineLayout.cpp (revision 109352) |
+++ Source/WebCore/rendering/RenderBlockLineLayout.cpp (working copy) |
@@ -2362,7 +2362,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()); |
} |