| Index: chrome/browser/ui/extensions/hosted_app_browser_controller.cc
|
| diff --git a/chrome/browser/ui/extensions/hosted_app_browser_controller.cc b/chrome/browser/ui/extensions/hosted_app_browser_controller.cc
|
| index f8292540788bcc7e487237ea907f15d0a95f6461..0d90e55d8939903f92babbba152e9cbaee7af9fa 100644
|
| --- a/chrome/browser/ui/extensions/hosted_app_browser_controller.cc
|
| +++ b/chrome/browser/ui/extensions/hosted_app_browser_controller.cc
|
| @@ -97,8 +97,10 @@ bool HostedAppBrowserController::ShouldShowLocationBar() const {
|
|
|
| const ChromeSecurityStateModelClient* model_client =
|
| ChromeSecurityStateModelClient::FromWebContents(web_contents);
|
| + security_state::SecurityStateModel::SecurityInfo security_info;
|
| + model_client->GetSecurityInfo(&security_info);
|
| if (model_client &&
|
| - model_client->GetSecurityInfo().security_level ==
|
| + security_info.security_level ==
|
| security_state::SecurityStateModel::SECURITY_ERROR)
|
| return true;
|
|
|
|
|