Index: chrome/browser/ui/find_bar/find_tab_helper.cc |
diff --git a/chrome/browser/ui/find_bar/find_tab_helper.cc b/chrome/browser/ui/find_bar/find_tab_helper.cc |
index 069e14790dfb83f5b0de2d7a68f859c20afa9d0c..92b64a2dc41f4c9ba7b4e74ef4ba5b10426dd882 100644 |
--- a/chrome/browser/ui/find_bar/find_tab_helper.cc |
+++ b/chrome/browser/ui/find_bar/find_tab_helper.cc |
@@ -141,14 +141,14 @@ void FindTabHelper::ActivateFindInPageResultForAccessibility() { |
#if defined(OS_ANDROID) |
void FindTabHelper::ActivateNearestFindResult(float x, float y) { |
if (!find_op_aborted_ && !find_text_.empty()) { |
- web_contents()->GetRenderViewHost()->ActivateNearestFindResult( |
+ web_contents()->GetMainFrame()->ActivateNearestFindResult( |
current_find_request_id_, x, y); |
} |
} |
void FindTabHelper::RequestFindMatchRects(int current_version) { |
if (!find_op_aborted_ && !find_text_.empty()) |
- web_contents()->GetRenderViewHost()->RequestFindMatchRects(current_version); |
+ web_contents()->GetMainFrame()->RequestFindMatchRects(current_version); |
} |
#endif |