| Index: Source/WebCore/editing/TextIterator.cpp
|
| ===================================================================
|
| --- Source/WebCore/editing/TextIterator.cpp (revision 78149)
|
| +++ Source/WebCore/editing/TextIterator.cpp (working copy)
|
| @@ -1922,6 +1922,11 @@
|
|
|
| inline SearchBuffer::~SearchBuffer()
|
| {
|
| + // Leave the static object pointing to a valid string.
|
| + UErrorCode status = U_ZERO_ERROR;
|
| + usearch_setPattern(WebCore::searcher(), &newlineCharacter, 1, &status);
|
| + ASSERT(status == U_ZERO_ERROR);
|
| +
|
| unlockSearcher();
|
| }
|
|
|
|
|