| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index f3e71c14e86fa01188a4773b7221924a4a69593f..12acd8e881bbb0585a7f9921ec51013e7eaa735c 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -770,15 +770,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:
|
|
|
| @@ -1335,6 +1326,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,
|
|
|