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

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: 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/html_viewer/html_frame.cc
diff --git a/components/html_viewer/html_frame.cc b/components/html_viewer/html_frame.cc
index 4ee31a770d7005c3234c62bc9022252dde92f3f2..98df2563bd1a867ff539e511ffe7b0ea34376744 100644
--- a/components/html_viewer/html_frame.cc
+++ b/components/html_viewer/html_frame.cc
@@ -933,7 +933,7 @@ void HTMLFrame::Find(int32_t request_id,
blink::WebRect selection_rect;
bool result = web_frame_->find(request_id, search_text.To<blink::WebString>(),
options.To<blink::WebFindOptions>(),
- wrap_within_frame, &selection_rect);
+ wrap_within_frame, &selection_rect, nullptr);
if (!result) {
// don't leave text selected as you move to the next frame.
web_frame_->executeCommand(blink::WebString::fromUTF8("Unselect"),

Powered by Google App Engine
This is Rietveld 408576698