Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index d8abe54a9b8395a664840d86570067995555bff3..8800ae0126167a5119a003a2f15a6c5783af1cd3 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -771,15 +771,6 @@ void Browser::WindowFullscreenStateChanged() { |
UpdateBookmarkBarState(BOOKMARK_BAR_STATE_CHANGE_TOGGLE_FULLSCREEN); |
} |
-void Browser::VisibleSSLStateChanged(content::WebContents* web_contents) { |
- // When the current tab's SSL state changes, we need to update the URL |
- // bar to reflect the new state. |
- DCHECK(web_contents); |
- if (tab_strip_model_->GetActiveWebContents() == web_contents) |
- UpdateToolbar(false); |
-} |
- |
- |
/////////////////////////////////////////////////////////////////////////////// |
// Browser, Assorted browser commands: |
@@ -1336,6 +1327,14 @@ void Browser::NavigationStateChanged(const WebContents* source, |
command_controller_->TabStateChanged(); |
} |
+void Browser::VisibleSSLStateChanged(const WebContents* source) { |
+ // When the current tab's SSL state changes, we need to update the URL |
+ // bar to reflect the new state. |
+ DCHECK(source); |
+ if (tab_strip_model_->GetActiveWebContents() == source) |
+ UpdateToolbar(false); |
+} |
+ |
void Browser::AddNewContents(WebContents* source, |
WebContents* new_contents, |
WindowOpenDisposition disposition, |