diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/frame/browser_view.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc index df2bea1..54bf7c5 100644 --- a/chrome/browser/views/frame/browser_view.cc +++ b/chrome/browser/views/frame/browser_view.cc @@ -647,8 +647,7 @@ void BrowserView::TabSelectedAt(TabContents* old_contents, // Update all the UI bits. UpdateTitleBar(); - Profile* profile = new_contents->profile(); // TODO(beng): remove after 1 cyc. - toolbar_->SetProfile(profile); + toolbar_->SetProfile(new_contents->profile()); UpdateToolbar(new_contents, true); UpdateUIForContents(new_contents); } |