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

Unified Diff: components/html_viewer/html_frame.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/html_viewer/html_frame.cc
diff --git a/components/html_viewer/html_frame.cc b/components/html_viewer/html_frame.cc
index 6ae4ca7902c960efff5715eac4ac2c5e1591f288..35f74809f4c6badef188322897f16818fb9161af 100644
--- a/components/html_viewer/html_frame.cc
+++ b/components/html_viewer/html_frame.cc
@@ -932,7 +932,8 @@ void HTMLFrame::Find(int32_t request_id,
blink::WebRect selection_rect;
bool result = web_frame_->toWebLocalFrame()->find(
request_id, search_text.To<blink::WebString>(),
- options.To<blink::WebFindOptions>(), wrap_within_frame, &selection_rect);
+ options.To<blink::WebFindOptions>(), wrap_within_frame, &selection_rect,
+ nullptr);
if (!result) {
// don't leave text selected as you move to the next frame.

Powered by Google App Engine
This is Rietveld 408576698