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

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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | third_party/WebKit/Source/web/TextFinder.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.cc
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
index f09284ca54e29c24e54b9130444664ba11df2b55..1434672d8bf69bbc03cf640d046bb7a5f92832c7 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -2403,7 +2403,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;
}
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | third_party/WebKit/Source/web/TextFinder.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698