| Index: chrome/browser/search/search.cc | 
| diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc | 
| index 645fecb9a52e535b344cc9554331c891695ddc61..57c9cb512115914caeb724a60f11357f93662bca 100644 | 
| --- a/chrome/browser/search/search.cc | 
| +++ b/chrome/browser/search/search.cc | 
| @@ -490,11 +490,13 @@ GURL GetEffectiveURLForInstant(const GURL& url, Profile* profile) { | 
|  | 
| GURL effective_url(url); | 
|  | 
| -  // Replace the scheme with "chrome-search:". | 
| +  // Replace the scheme with "chrome-search:", and clear the port, since | 
| +  // chrome-search is a scheme without port. | 
| url::Replacements<char> replacements; | 
| std::string search_scheme(chrome::kChromeSearchScheme); | 
| replacements.SetScheme(search_scheme.data(), | 
| url::Component(0, search_scheme.length())); | 
| +  replacements.ClearPort(); | 
|  | 
| // If this is the URL for a server-provided NTP, replace the host with | 
| // "remote-ntp". | 
|  |