From d2a7d0aabc8cc354b72a2f699cd736a950a80d71 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Wed, 19 Nov 2008 00:25:08 +0000 Subject: put back this change now chromebot has had a chance to run git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5653 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/frame/browser_view.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome') 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); } -- cgit v1.1