| 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 6b430cd0744f1022b20ff5f35b19739651ccf40e..9fffec6b5c909c9f57a392e6318726530037b15f 100644
|
| --- a/chrome/browser/ui/search/instant_controller.cc
|
| +++ b/chrome/browser/ui/search/instant_controller.cc
|
| @@ -124,8 +124,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() {
|
|
|