| Index: chrome/browser/ui/search/search_tab_helper.cc
|
| diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc
|
| index e20bcfe611b4cb15b19e81baeaa1ac21362269b7..22fe0dbe8e0c8c3366acb9aea623a6af1ccdf6aa 100644
|
| --- a/chrome/browser/ui/search/search_tab_helper.cc
|
| +++ b/chrome/browser/ui/search/search_tab_helper.cc
|
| @@ -338,12 +338,8 @@ void SearchTabHelper::NavigationEntryCommitted(
|
| return;
|
|
|
| if (search::ShouldAssignURLToInstantRenderer(web_contents_->GetURL(),
|
| - profile())) {
|
| - InstantService* instant_service =
|
| - InstantServiceFactory::GetForProfile(profile());
|
| - ipc_router_.SetOmniboxStartMargin(instant_service->omnibox_start_margin());
|
| + profile()))
|
| ipc_router_.SetDisplayInstantResults();
|
| - }
|
|
|
| UpdateMode(true, false);
|
|
|
| @@ -408,10 +404,6 @@ void SearchTabHelper::LogMostVisitedItemsSource(
|
| }
|
| }
|
|
|
| -void SearchTabHelper::OmniboxStartMarginChanged(int omnibox_start_margin) {
|
| - ipc_router_.SetOmniboxStartMargin(omnibox_start_margin);
|
| -}
|
| -
|
| void SearchTabHelper::FocusOmnibox(OmniboxFocusState state) {
|
| // TODO(kmadhusu): Move platform specific code from here and get rid of #ifdef.
|
| #if !defined(OS_ANDROID)
|
|
|