| Index: components/search_engines/template_url.cc
|
| diff --git a/components/search_engines/template_url.cc b/components/search_engines/template_url.cc
|
| index eb1998a24b0cdf47f116e2c476a62fbf4ab35963..3028a5fba65c0c5e7ba62f5a1674b1721219bd44 100644
|
| --- a/components/search_engines/template_url.cc
|
| +++ b/components/search_engines/template_url.cc
|
| @@ -986,11 +986,13 @@ std::string TemplateURLRef::HandleReplacements(
|
|
|
| case GOOGLE_INSTANT_EXTENDED_ENABLED:
|
| DCHECK(!i->is_post_param);
|
| + // Regular search requests don't use Instant, so only add the param for
|
| + // other types.
|
| HandleReplacement(std::string(),
|
| - search_terms_data.InstantExtendedEnabledParam(
|
| - type_ == SEARCH),
|
| - *i,
|
| - &url);
|
| + type_ == SEARCH
|
| + ? std::string()
|
| + : search_terms_data.InstantExtendedEnabledParam(),
|
| + *i, &url);
|
| break;
|
|
|
| case GOOGLE_CONTEXTUAL_SEARCH_VERSION:
|
|
|