| Index: content/browser/ssl/ssl_manager.cc
|
| diff --git a/content/browser/ssl/ssl_manager.cc b/content/browser/ssl/ssl_manager.cc
|
| index 0f6fff359f09d2aca87e8311f34d1a7b3bdf8d58..2f88040c714df9a420532eff09d97507b445887b 100644
|
| --- a/content/browser/ssl/ssl_manager.cc
|
| +++ b/content/browser/ssl/ssl_manager.cc
|
| @@ -18,6 +18,7 @@
|
| #include "content/browser/tab_contents/provisional_load_details.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/common/notification_service.h"
|
| +#include "content/common/notification_source.h"
|
| #include "net/base/cert_status_flags.h"
|
|
|
| // static
|
| @@ -44,10 +45,11 @@ void SSLManager::OnSSLCertificateError(ResourceDispatcherHost* rdh,
|
| }
|
|
|
| // static
|
| -void SSLManager::NotifySSLInternalStateChanged() {
|
| +void SSLManager::NotifySSLInternalStateChanged(
|
| + NavigationController* controller) {
|
| NotificationService::current()->Notify(
|
| content::NOTIFICATION_SSL_INTERNAL_STATE_CHANGED,
|
| - NotificationService::AllSources(),
|
| + Source<content::BrowserContext>(controller->browser_context()),
|
| NotificationService::NoDetails());
|
| }
|
|
|
| @@ -105,7 +107,8 @@ SSLManager::SSLManager(NavigationController* controller)
|
| registrar_.Add(this, content::NOTIFICATION_LOAD_FROM_MEMORY_CACHE,
|
| Source<NavigationController>(controller_));
|
| registrar_.Add(this, content::NOTIFICATION_SSL_INTERNAL_STATE_CHANGED,
|
| - NotificationService::AllSources());
|
| + Source<content::BrowserContext>(
|
| + controller_->browser_context()));
|
| }
|
|
|
| SSLManager::~SSLManager() {
|
|
|