Remove WebFindOptions in browser process

This CL removes usage of WebFindOptions in browser process, in favor
of FindOptions, defined in find_in_page.mojom

Bug: 819919
Change-Id: Iee85e1a277a225765dc5bb9f990b5bb5854efa04
Reviewed-on: https://chromium-review.googlesource.com/1184594
Reviewed-by: Fady Samuel <[email protected]>
Reviewed-by: John Abd-El-Malek <[email protected]>
Reviewed-by: Bo <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Commit-Queue: Rakina Zata Amni <[email protected]>
Cr-Commit-Position: refs/heads/master@{#589783}
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 0f553df..4687f18 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3968,14 +3968,15 @@
 
 void WebContentsImpl::Find(int request_id,
                            const base::string16& search_text,
-                           const blink::WebFindOptions& options) {
+                           blink::mojom::FindOptionsPtr options) {
   // Cowardly refuse to search for no text.
   if (search_text.empty()) {
     NOTREACHED();
     return;
   }
 
-  GetOrCreateFindRequestManager()->Find(request_id, search_text, options);
+  GetOrCreateFindRequestManager()->Find(request_id, search_text,
+                                        std::move(options));
 }
 
 void WebContentsImpl::StopFinding(StopFindAction action) {