summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/browser_actions_container.cc4
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;