diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-05 21:40:01 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-05 21:40:01 +0000 |
commit | bb9a72b14465e7d74543afe1bdec8ae31486ee02 (patch) | |
tree | e06915eb5dbc3257aff92e5173a95c3f8d15cf4c /chrome | |
parent | 7e4cd4e8bec548edf4c93d22a4aa3daee309751e (diff) | |
download | chromium_src-bb9a72b14465e7d74543afe1bdec8ae31486ee02.zip chromium_src-bb9a72b14465e7d74543afe1bdec8ae31486ee02.tar.gz chromium_src-bb9a72b14465e7d74543afe1bdec8ae31486ee02.tar.bz2 |
Browser action icons not displayed in detached browser window
Regression from this revision
http://src.chromium.org/viewvc/chrome?view=rev&revision=43044
BUG=40272
TEST=Verify installed browser actions are visible in browser window created by detaching a tab.
Review URL: http://codereview.chromium.org/1530019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/browser_actions_container.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/browser_actions_container.cc b/chrome/browser/views/browser_actions_container.cc index 6b59f4f..fe1bff3 100644 --- a/chrome/browser/views/browser_actions_container.cc +++ b/chrome/browser/views/browser_actions_container.cc @@ -370,8 +370,6 @@ BrowserActionsContainer::BrowserActionsContainer( ALLOW_THIS_IN_INITIALIZER_LIST(show_menu_task_factory_(this)) { SetID(VIEW_ID_BROWSER_ACTION_TOOLBAR); - SetVisible(false); - model_ = profile_->GetExtensionsService()->toolbar_model(); model_->AddObserver(this); @@ -604,6 +602,8 @@ void BrowserActionsContainer::Layout() { resize_gripper_->SetVisible(false); chevron_->SetVisible(false); return; + } else { + SetVisible(true); } int x = 0; |