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

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: Rebase Created 4 years, 10 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 a2c8ac147103f450158ceafadc6865ff0fb5f70c..c6f1481a16f55ac38b682d1182f000ea8ffeda34 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -2393,7 +2393,7 @@ bool TestRunner::FindString(const std::string& search_text,
WebLocalFrame* frame = web_view_->mainFrame()->toWebLocalFrame();
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