Index: chrome/browser/automation/automation_provider.cc |
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc |
index 5872ec94180ebb7c58ac26b20c605405eb05218b..b8c0a0b9a141953aa98669beac546dbb7bf59cae 100644 |
--- a/chrome/browser/automation/automation_provider.cc |
+++ b/chrome/browser/automation/automation_provider.cc |
@@ -443,7 +443,7 @@ void AutomationProvider::SendFindRequest( |
options.forward = forward; |
options.matchCase = match_case; |
options.findNext = find_next; |
- web_contents->GetRenderViewHost()->Find( |
+ web_contents->Find( |
FindInPageNotificationObserver::kFindInPageRequestId, search_string, |
options); |
} |