| Index: chrome/browser/autocomplete/autocomplete_match.cc
|
| diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc
|
| index 4f6714744af6cf62e3c439f930a685cd3ecec976..1c2c7bb7fbf3375be881d2795a4af5c05dfa4269 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_match.cc
|
| +++ b/chrome/browser/autocomplete/autocomplete_match.cc
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "grit/theme_resources.h"
|
| +#include "net/base/url_constants.h"
|
|
|
| namespace {
|
|
|
| @@ -376,10 +377,9 @@ void AutocompleteMatch::ComputeStrippedDestinationURL(Profile* profile) {
|
| }
|
|
|
| // Replace https protocol with http protocol.
|
| - if (stripped_destination_url.SchemeIs(content::kHttpsScheme)) {
|
| - replacements.SetScheme(
|
| - content::kHttpScheme,
|
| - url_parse::Component(0, strlen(content::kHttpScheme)));
|
| + if (stripped_destination_url.SchemeIs(net::kHttpsScheme)) {
|
| + replacements.SetScheme(net::kHttpScheme,
|
| + url_parse::Component(0, strlen(net::kHttpScheme)));
|
| needs_replacement = true;
|
| }
|
|
|
|
|