| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index f95fbd23da09a707ec037253a7b93ffb01ad7ec4..798312abbc74d5b48daeb580a4b67a8a797ce3a0 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -3576,9 +3576,7 @@ TEST_F(WebFrameTest, FindDetachFrameWhileScopingStrings)
|
| EXPECT_FALSE(client.findResultsAreReady());
|
|
|
| mainFrame->resetMatchCount();
|
| -
|
| - for (WebFrame* frame = mainFrame; frame; frame = frame->traverseNext(false))
|
| - frame->scopeStringMatches(kFindIdentifier, searchText, options, true);
|
| + mainFrame->scopeStringMatches(kFindIdentifier, searchText, options, true);
|
|
|
| // The first scopeStringMatches will have reset the state. Detach before it actually scopes.
|
| EXPECT_TRUE(mainFrame->document().getElementById("frame").remove());
|
|
|