Chromium Code Reviews| Index: extensions/browser/guest_view/web_view/web_view_find_helper.h |
| diff --git a/extensions/browser/guest_view/web_view/web_view_find_helper.h b/extensions/browser/guest_view/web_view/web_view_find_helper.h |
| index db1c39d577ed18fa14239c67de852642bc45a981..4266610054b204d1ebbf4835baabe5767b845ea0 100644 |
| --- a/extensions/browser/guest_view/web_view/web_view_find_helper.h |
| +++ b/extensions/browser/guest_view/web_view/web_view_find_helper.h |
| @@ -36,11 +36,10 @@ class WebViewFindHelper { |
| void EndFindSession(int session_request_id, bool canceled); |
| // Helper function for WebViewGuest::Find(). |
| - void Find( |
| - content::WebContents* guest_web_contents, |
| - const base::string16& search_text, |
| - const blink::WebFindOptions& options, |
| - scoped_refptr<WebViewInternalFindFunction> find_function); |
| + void Find(content::WebContents* guest_web_contents, |
| + const base::string16& search_text, |
| + const blink::WebFindOptions& options, |
| + WebViewInternalFindFunction* find_function); |
| // Helper function for WeViewGuest:FindReply(). |
| void FindReply(int request_id, |
| @@ -101,11 +100,10 @@ class WebViewFindHelper { |
| // Handles all information about a find request and its results. |
| class FindInfo { |
| public: |
| - FindInfo( |
| - int request_id, |
| - const base::string16& search_text, |
| - const blink::WebFindOptions& options, |
| - scoped_refptr<WebViewInternalFindFunction> find_function); |
| + FindInfo(int request_id, |
| + const base::string16& search_text, |
| + const blink::WebFindOptions& options, |
| + WebViewInternalFindFunction* find_function); |
|
Fady Samuel
2014/09/18 16:49:48
scoped_refptr?
|
| ~FindInfo(); |
| // Add another request to |find_next_requests_|. |
| @@ -158,7 +156,7 @@ class WebViewFindHelper { |
| friend void WebViewFindHelper::EndFindSession(int session_request_id, |
| bool canceled); |
| -// Weak pointer used to access the find info of fin. |
| + // Weak pointer used to access the find info of fin. |
| base::WeakPtrFactory<FindInfo> weak_ptr_factory_; |
| DISALLOW_COPY_AND_ASSIGN(FindInfo); |