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..d3129c7d0de716b0131afcae0710aa0648ef0a19 100644 |
--- a/chrome/browser/ssl/chrome_security_state_model_client.cc |
+++ b/chrome/browser/ssl/chrome_security_state_model_client.cc |
@@ -362,8 +362,7 @@ 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 |
Charlie Reis
2016/10/27 20:51:24
nit: s/synchronous/same-page/
nasko
2016/10/27 21:22:34
Done.
|
// pushState. |