| Index: Source/WebCore/editing/TextIterator.cpp
|
| ===================================================================
|
| --- Source/WebCore/editing/TextIterator.cpp (revision 92533)
|
| +++ Source/WebCore/editing/TextIterator.cpp (working copy)
|
| @@ -2569,6 +2569,9 @@
|
|
|
| PassRefPtr<Range> findPlainText(const Range* range, const String& target, FindOptions options)
|
| {
|
| + // CharacterIterator requires renderers to be up-to-date
|
| + range->ownerDocument()->updateLayout();
|
| +
|
| // First, find the text.
|
| size_t matchStart;
|
| size_t matchLength;
|
|
|