| 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 f292e627156b42f93b3e3ab15ec35dd10b8ca1d5..43b009aa7020ffc00e850566df9051746190c8c3 100644
|
| --- a/chrome/browser/ssl/ssl_blocking_page.cc
|
| +++ b/chrome/browser/ssl/ssl_blocking_page.cc
|
| @@ -14,6 +14,8 @@
|
| #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"
|
| @@ -326,10 +328,8 @@ 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;
|
| - content::NotificationService::current()->Notify(
|
| - content::NOTIFICATION_SSL_VISIBLE_STATE_CHANGED,
|
| - content::Source<NavigationController>(&web_contents_->GetController()),
|
| - content::NotificationService::NoDetails());
|
| + Browser* browser = chrome::FindBrowserWithWebContents(web_contents_);
|
| + browser->VisibleSSLStateChanged(web_contents_);
|
| }
|
|
|
| // Matches events defined in ssl_error.html and ssl_roadblock.html.
|
|
|