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

Unified Diff: components/test_runner/test_runner_for_specific_view.cc

Issue 1959183002: Multi-Process Find-in-Page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by dcheng@. Created 4 years, 7 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/browser/find_request_manager.h » ('j') | content/browser/find_request_manager.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner_for_specific_view.cc
diff --git a/components/test_runner/test_runner_for_specific_view.cc b/components/test_runner/test_runner_for_specific_view.cc
index 75b8d0d0475439642e4ecaf5c7329df7e73ab5d7..90c12ca57aeedbfa85247feafe29e839fbf1c2f9 100644
--- a/components/test_runner/test_runner_for_specific_view.cc
+++ b/components/test_runner/test_runner_for_specific_view.cc
@@ -653,7 +653,7 @@ bool TestRunnerForSpecificView::FindString(
WebLocalFrame* frame = web_view()->mainFrame()->toWebLocalFrame();
const bool find_result = frame->find(0, WebString::fromUTF8(search_text),
find_options, wrap_around, 0);
- frame->stopFinding(false);
+ frame->stopFinding(WebLocalFrame::StopFindActionKeepSelection);
return find_result;
}
« no previous file with comments | « no previous file | content/browser/find_request_manager.h » ('j') | content/browser/find_request_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698