| Index: chrome/browser/ui/search/instant_controller.cc
|
| diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc
|
| index 9b6c1d2c38d0fe7062d4767ed47ffa580f008535..d268a52a394be188be7426c4a61485b68204e8ec 100644
|
| --- a/chrome/browser/ui/search/instant_controller.cc
|
| +++ b/chrome/browser/ui/search/instant_controller.cc
|
| @@ -125,8 +125,10 @@ void InstantController::SetOmniboxBounds(const gfx::Rect& bounds) {
|
|
|
| void InstantController::SetSuggestionToPrefetch(
|
| const InstantSuggestion& suggestion) {
|
| - if (instant_tab_ && search_mode_.is_search())
|
| - instant_tab_->sender()->SetSuggestionToPrefetch(suggestion);
|
| + if (instant_tab_ && search_mode_.is_search()) {
|
| + SearchTabHelper::FromWebContents(instant_tab_->contents())->
|
| + SetSuggestionToPrefetch(suggestion);
|
| + }
|
| }
|
|
|
| void InstantController::ToggleVoiceSearch() {
|
|
|