| Index: chrome/browser/omnibox_search_hint.cc
|
| diff --git a/chrome/browser/omnibox_search_hint.cc b/chrome/browser/omnibox_search_hint.cc
|
| index 2a980a060c9163aa7a8fcdf56746db20e07d07ef..bded9c01895497f59c23f05ac58de179752833c2 100644
|
| --- a/chrome/browser/omnibox_search_hint.cc
|
| +++ b/chrome/browser/omnibox_search_hint.cc
|
| @@ -149,7 +149,7 @@ bool HintInfoBar::Accept() {
|
| // OmniboxSearchHint ----------------------------------------------------------
|
|
|
| OmniboxSearchHint::OmniboxSearchHint(TabContentsWrapper* tab) : tab_(tab) {
|
| - NavigationController* controller = &(tab->tab_contents()->GetController());
|
| + NavigationController* controller = &(tab->tab_contents()->controller());
|
| notification_registrar_.Add(
|
| this,
|
| content::NOTIFICATION_NAV_ENTRY_COMMITTED,
|
| @@ -172,7 +172,7 @@ void OmniboxSearchHint::Observe(int type,
|
| const content::NotificationDetails& details) {
|
| if (type == content::NOTIFICATION_NAV_ENTRY_COMMITTED) {
|
| NavigationEntry* entry =
|
| - tab_->tab_contents()->GetController().GetActiveEntry();
|
| + tab_->tab_contents()->controller().GetActiveEntry();
|
| if (search_engine_urls_.find(entry->url().spec()) ==
|
| search_engine_urls_.end()) {
|
| // The search engine is not in our white-list, bail.
|
|
|