| Index: chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc
|
| diff --git a/chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc b/chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc
|
| index dd72f247e52988197f51642806794d44cba426b3..9fc877329a20b0bfa240925e0e433f0509f1bf40 100644
|
| --- a/chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc
|
| +++ b/chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc
|
| @@ -8,7 +8,7 @@
|
| #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/search/search.h"
|
| -#include "chrome/browser/ssl/chrome_security_state_model_client.h"
|
| +#include "chrome/browser/ssl/chrome_security_state_model.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "components/google/core/browser/google_util.h"
|
| @@ -75,7 +75,7 @@ ChromeToolbarModelDelegate::GetSecurityLevel() const {
|
| // initialization), assume no security style.
|
| if (!web_contents)
|
| return security_state::SecurityStateModel::NONE;
|
| - auto* client = ChromeSecurityStateModelClient::FromWebContents(web_contents);
|
| + auto* client = ChromeSecurityStateModel::FromWebContents(web_contents);
|
| security_state::SecurityStateModel::SecurityInfo security_info;
|
| client->GetSecurityInfo(&security_info);
|
| return security_info.security_level;
|
| @@ -96,7 +96,7 @@ bool ChromeToolbarModelDelegate::FailsMalwareCheck() const {
|
| if (!web_contents)
|
| return false;
|
| security_state::SecurityStateModel::SecurityInfo security_info;
|
| - ChromeSecurityStateModelClient::FromWebContents(web_contents)
|
| + ChromeSecurityStateModel::FromWebContents(web_contents)
|
| ->GetSecurityInfo(&security_info);
|
| return security_info.fails_malware_check;
|
| }
|
|
|