| Index: chrome/browser/installable/installable_manager.cc
|
| diff --git a/chrome/browser/installable/installable_manager.cc b/chrome/browser/installable/installable_manager.cc
|
| index 5bfa16bbf3b75ed932584d9bb9530bde71f35efd..390fd5b4b9d89bd27ba93f7fb5eadf968e0b2fe3 100644
|
| --- a/chrome/browser/installable/installable_manager.cc
|
| +++ b/chrome/browser/installable/installable_manager.cc
|
| @@ -143,7 +143,7 @@ bool InstallableManager::IsContentSecure(content::WebContents* web_contents) {
|
|
|
| // Whitelist localhost. Check the VisibleURL to match what the
|
| // SecurityStateTabHelper looks at.
|
| - if (net::IsLocalhost(web_contents->GetVisibleURL().HostNoBrackets()))
|
| + if (net::IsLocalhost(web_contents->GetVisibleURL().HostNoBracketsPiece()))
|
| return true;
|
|
|
| security_state::SecurityInfo security_info;
|
|
|