| Index: chrome/browser/search/search.cc
|
| diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
|
| index 28b800583cb26385033d89a3a39780bcf6283a7d..aeb5e1a728cab54b425bf4e31a8e3f0b94adb22b 100644
|
| --- a/chrome/browser/search/search.cc
|
| +++ b/chrome/browser/search/search.cc
|
| @@ -52,9 +52,6 @@ namespace search {
|
|
|
| namespace {
|
|
|
| -const char kPrerenderInstantUrlOnOmniboxFocus[] =
|
| - "prerender_instant_url_on_omnibox_focus";
|
| -
|
| // Controls whether to use the alternate Instant search base URL. This allows
|
| // experimentation of Instant search.
|
| const char kUseAltInstantURL[] = "use_alternate_instant_url";
|
| @@ -517,15 +514,6 @@ GURL GetSearchResultPrefetchBaseURL(Profile* profile) {
|
| return ShouldPrefetchSearchResults() ? GetInstantURL(profile, true) : GURL();
|
| }
|
|
|
| -bool ShouldPrerenderInstantUrlOnOmniboxFocus() {
|
| - if (!ShouldPrefetchSearchResults())
|
| - return false;
|
| -
|
| - FieldTrialFlags flags;
|
| - return GetFieldTrialInfo(&flags) && GetBoolValueForFlagWithDefault(
|
| - kPrerenderInstantUrlOnOmniboxFocus, false, flags);
|
| -}
|
| -
|
| GURL GetEffectiveURLForInstant(const GURL& url, Profile* profile) {
|
| CHECK(ShouldAssignURLToInstantRenderer(url, profile))
|
| << "Error granting Instant access.";
|
|
|