| 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 68b5a816ad7825a3580c5108dc3e4bdf59b50b73..444524f48db60fb8d77653071734af1f49be15e4 100644
|
| --- a/chrome/browser/ui/search/search_tab_helper.cc
|
| +++ b/chrome/browser/ui/search/search_tab_helper.cc
|
| @@ -286,8 +286,6 @@ void SearchTabHelper::DidFinishLoad(content::RenderFrameHost* render_frame_host,
|
| if (!render_frame_host->GetParent()) {
|
| if (search::IsInstantNTP(web_contents_))
|
| RecordNewTabLoadTime(web_contents_);
|
| -
|
| - InstantSupportChanged(InInstantProcess(profile(), web_contents_));
|
| }
|
| }
|
|
|
| @@ -301,8 +299,6 @@ void SearchTabHelper::NavigationEntryCommitted(
|
|
|
| UpdateMode(/*update_origin=*/true);
|
|
|
| - InstantSupportChanged(InInstantProcess(profile(), web_contents_));
|
| -
|
| if (InInstantProcess(profile(), web_contents_))
|
| ipc_router_.OnNavigationEntryCommitted();
|
| }
|
| @@ -448,16 +444,6 @@ void SearchTabHelper::OnHistorySyncCheck() {
|
| ipc_router_.SendHistorySyncCheckResult(IsHistorySyncEnabled(profile()));
|
| }
|
|
|
| -void SearchTabHelper::InstantSupportChanged(bool instant_support) {
|
| - if (!is_search_enabled_)
|
| - return;
|
| -
|
| - InstantSupportState new_state = instant_support ? INSTANT_SUPPORT_YES :
|
| - INSTANT_SUPPORT_NO;
|
| -
|
| - model_.SetInstantSupportState(new_state);
|
| -}
|
| -
|
| void SearchTabHelper::UpdateMode(bool update_origin) {
|
| SearchMode::Type type = SearchMode::MODE_DEFAULT;
|
| SearchMode::Origin origin = SearchMode::ORIGIN_DEFAULT;
|
|
|