| Index: chrome/browser/ui/search_engines/search_engine_tab_helper.cc
|
| diff --git a/chrome/browser/ui/search_engines/search_engine_tab_helper.cc b/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
|
| index 5ba0c112b1e505f06971336972899d551abe7910..278008cf7dba9b19a3b51bfc2e18f71b926a1463 100644
|
| --- a/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
|
| +++ b/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
|
| @@ -86,7 +86,7 @@ void SearchEngineTabHelper::OnPageHasOSDD(
|
| return;
|
| }
|
|
|
| - const NavigationController& controller = tab_contents()->GetController();
|
| + const NavigationController& controller = tab_contents()->controller();
|
| const NavigationEntry* entry = controller.GetLastCommittedEntry();
|
| DCHECK(entry);
|
|
|
| @@ -136,7 +136,7 @@ void SearchEngineTabHelper::GenerateKeywordIfNecessary(
|
| if (profile->IsOffTheRecord())
|
| return;
|
|
|
| - const NavigationController& controller = tab_contents()->GetController();
|
| + const NavigationController& controller = tab_contents()->controller();
|
| int last_index = controller.last_committed_entry_index();
|
| // When there was no previous page, the last index will be 0. This is
|
| // normally due to a form submit that opened in a new tab.
|
|
|