diff options
author | glen@google.com <glen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-30 22:44:50 +0000 |
---|---|---|
committer | glen@google.com <glen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-30 22:44:50 +0000 |
commit | 019d835068b6fa120e0039bba8c5c089dfba7a88 (patch) | |
tree | 0e33dc9df604566a6fa1f547385963b9f7743df2 /chrome/browser/browser.cc | |
parent | fc9656edd36841cfb69c10539209b59872042513 (diff) | |
download | chromium_src-019d835068b6fa120e0039bba8c5c089dfba7a88.zip chromium_src-019d835068b6fa120e0039bba8c5c089dfba7a88.tar.gz chromium_src-019d835068b6fa120e0039bba8c5c089dfba7a88.tar.bz2 |
Make the download arrow show and hide correctly in response to shelf visibility. This was caused by both the shelf_visible_ bool not being set by the download shelf correctly, and the tab renderer not being aware of the new state.
BUG=1300997
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r-- | chrome/browser/browser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index be59357..5e4af3c 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -919,7 +919,7 @@ bool Browser::IsApplication() const { return type_ == BrowserType::APPLICATION; } -void Browser::CrashedStateChanged(TabContents* source) { +void Browser::ContentsStateChanged(TabContents* source) { int index = tabstrip_model_.GetIndexOfTabContents(source); if (index != TabStripModel::kNoTab) tabstrip_model_.UpdateTabContentsStateAt(index); |