summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 00:25:08 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 00:25:08 +0000
commitd2a7d0aabc8cc354b72a2f699cd736a950a80d71 (patch)
tree9794021bbbd83dfb8a58627c3d39b5de7cfc3f6f /chrome
parent7bd1ff432a91f8075325f1a24da57811ca804d2c (diff)
downloadchromium_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.cc3
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);
}