| Index: chrome/browser/ssl/chrome_security_state_model_client.cc
|
| diff --git a/chrome/browser/ssl/chrome_security_state_model_client.cc b/chrome/browser/ssl/chrome_security_state_model_client.cc
|
| index 5b7097e4b4e89c8b0c8ad8d31ffc030aa4cd8fbe..8b79a30a37e4882e7671207124c708667760adc8 100644
|
| --- a/chrome/browser/ssl/chrome_security_state_model_client.cc
|
| +++ b/chrome/browser/ssl/chrome_security_state_model_client.cc
|
| @@ -362,11 +362,9 @@ void ChromeSecurityStateModelClient::VisibleSSLStateChanged() {
|
|
|
| void ChromeSecurityStateModelClient::DidFinishNavigation(
|
| content::NavigationHandle* navigation_handle) {
|
| - if (navigation_handle->IsInMainFrame() &&
|
| - !navigation_handle->IsSynchronousNavigation()) {
|
| + if (navigation_handle->IsInMainFrame() && !navigation_handle->IsSamePage()) {
|
| // Only reset the console message flag for main-frame navigations,
|
| - // and not for synchronous navigations like reference fragments and
|
| - // pushState.
|
| + // and not for same-page navigations like reference fragments and pushState.
|
| logged_http_warning_on_current_navigation_ = false;
|
| }
|
| }
|
|
|