summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ssl_blocking_page.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ssl_blocking_page.cc')
-rw-r--r--chrome/browser/ssl_blocking_page.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ssl_blocking_page.cc b/chrome/browser/ssl_blocking_page.cc
index cb5d3ac..220328a 100644
--- a/chrome/browser/ssl_blocking_page.cc
+++ b/chrome/browser/ssl_blocking_page.cc
@@ -87,7 +87,7 @@ SSLBlockingPage::SSLBlockingPage(SSLManager::CertError* error,
NotificationService::current()->AddObserver(this,
NOTIFY_INTERSTITIAL_PAGE_CLOSED,
- Source<TabContents>(tab_));
+ Source<NavigationController>(tab_->controller()));
// Register for DOM operations, this is how the blocking page notifies us of
// what the user chooses.
@@ -103,7 +103,7 @@ SSLBlockingPage::~SSLBlockingPage() {
NotificationService::current()->RemoveObserver(this,
NOTIFY_INTERSTITIAL_PAGE_CLOSED,
- Source<TabContents>(tab_));
+ Source<NavigationController>(tab_->controller()));
NotificationService::current()->RemoveObserver(this,
NOTIFY_DOM_OPERATION_RESPONSE,