Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index 21973397e6e9c311d0766b4829fc256a0a3c4b52..14a387a62d7298b7d325c9325819baf2291c3afb 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -1002,7 +1002,7 @@ void TabContents::OnDidLoadResourceFromMemoryCache( |
void TabContents::OnDidDisplayInsecureContent() { |
UserMetrics::RecordAction(UserMetricsAction("SSL.DisplayedInsecureContent")); |
displayed_insecure_content_ = true; |
- SSLManager::NotifySSLInternalStateChanged(); |
+ SSLManager::NotifySSLInternalStateChanged(&controller()); |
} |
void TabContents::OnDidRunInsecureContent( |
@@ -1016,7 +1016,7 @@ void TabContents::OnDidRunInsecureContent( |
} |
controller_.ssl_manager()->DidRunInsecureContent(security_origin); |
displayed_insecure_content_ = true; |
- SSLManager::NotifySSLInternalStateChanged(); |
+ SSLManager::NotifySSLInternalStateChanged(&controller()); |
} |
void TabContents::OnDocumentLoadedInFrame(int64 frame_id) { |