diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-19 00:25:08 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-19 00:25:08 +0000 |
commit | d2a7d0aabc8cc354b72a2f699cd736a950a80d71 (patch) | |
tree | 9794021bbbd83dfb8a58627c3d39b5de7cfc3f6f /chrome | |
parent | 7bd1ff432a91f8075325f1a24da57811ca804d2c (diff) | |
download | chromium_src-d2a7d0aabc8cc354b72a2f699cd736a950a80d71.zip chromium_src-d2a7d0aabc8cc354b72a2f699cd736a950a80d71.tar.gz chromium_src-d2a7d0aabc8cc354b72a2f699cd736a950a80d71.tar.bz2 |
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
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); } |