Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: components/test_runner/test_runner.cc

Issue 1605863002: Restart search in page when new text is found. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: small clean up Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/test_runner/test_runner.cc
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
index e4e5877397c06b2262916aa931f2e8f57bcd46aa..71e30b831b84e0bf09fa0c9c11e30f8fcd3dbeef 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -2368,7 +2368,7 @@ bool TestRunner::FindString(const std::string& search_text,
WebFrame* frame = web_view_->mainFrame();
const bool find_result = frame->find(0, WebString::fromUTF8(search_text),
- find_options, wrap_around, 0);
+ find_options, wrap_around, 0, nullptr);
frame->stopFinding(false);
return find_result;
}

Powered by Google App Engine
This is Rietveld 408576698