| Index: content/browser/ssl/ssl_manager.cc
|
| diff --git a/content/browser/ssl/ssl_manager.cc b/content/browser/ssl/ssl_manager.cc
|
| index 1b331ccf3eb9ca6f67a6b2c67748c05a6d534708..8a6f500942d11ad6b1e7f5e59a55b3e39894e870 100644
|
| --- a/content/browser/ssl/ssl_manager.cc
|
| +++ b/content/browser/ssl/ssl_manager.cc
|
| @@ -86,10 +86,10 @@ SSLManager::SSLManager(NavigationControllerImpl* controller)
|
| // Subscribe to various notifications.
|
| registrar_.Add(
|
| this, content::NOTIFICATION_RESOURCE_RESPONSE_STARTED,
|
| - content::Source<WebContents>(controller_->tab_contents()));
|
| + content::Source<WebContents>(controller_->web_contents()));
|
| registrar_.Add(
|
| this, content::NOTIFICATION_RESOURCE_RECEIVED_REDIRECT,
|
| - content::Source<WebContents>(controller_->tab_contents()));
|
| + content::Source<WebContents>(controller_->web_contents()));
|
| registrar_.Add(
|
| this, content::NOTIFICATION_LOAD_FROM_MEMORY_CACHE,
|
| content::Source<NavigationController>(controller_));
|
| @@ -219,7 +219,7 @@ void SSLManager::UpdateEntry(NavigationEntryImpl* entry) {
|
|
|
| SSLStatus original_ssl_status = entry->GetSSL(); // Copy!
|
|
|
| - policy()->UpdateEntry(entry, controller_->tab_contents());
|
| + policy()->UpdateEntry(entry, controller_->web_contents());
|
|
|
| if (!entry->GetSSL().Equals(original_ssl_status)) {
|
| content::NotificationService::current()->Notify(
|
|
|