Index: chrome/browser/ssl/ssl_blocking_page.cc |
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc |
index f089c0e8d9c9a10a2481784f228239b226edb1e8..0cf08166e4762149173a2fb9fd50b882dc131197 100644 |
--- a/chrome/browser/ssl/ssl_blocking_page.cc |
+++ b/chrome/browser/ssl/ssl_blocking_page.cc |
@@ -16,8 +16,6 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/renderer_preferences_util.h" |
#include "chrome/browser/ssl/ssl_error_info.h" |
-#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_finder.h" |
#include "content/public/browser/cert_store.h" |
#include "content/public/browser/interstitial_page.h" |
#include "content/public/browser/navigation_controller.h" |
@@ -413,11 +411,6 @@ void SSLBlockingPage::OverrideEntry(NavigationEntry* entry) { |
entry->GetSSL().cert_id = cert_id; |
entry->GetSSL().cert_status = ssl_info_.cert_status; |
entry->GetSSL().security_bits = ssl_info_.security_bits; |
-#if !defined(OS_ANDROID) |
- Browser* browser = chrome::FindBrowserWithWebContents(web_contents_); |
- if (browser) |
- browser->VisibleSSLStateChanged(web_contents_); |
-#endif // !defined(OS_ANDROID) |
davidben
2014/05/28 19:29:36
This block isn't necessary. InterstitialPageImpl::
|
} |
// Matches events defined in ssl_error.html and ssl_roadblock.html. |