diff options
Diffstat (limited to 'chrome/browser/views/toolbar_view.cc')
-rw-r--r-- | chrome/browser/views/toolbar_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc index 3b2ce98..5d445a9 100644 --- a/chrome/browser/views/toolbar_view.cc +++ b/chrome/browser/views/toolbar_view.cc @@ -599,8 +599,8 @@ void ToolbarView::CreateCenterStack(Profile *profile) { reload_->SetID(VIEW_ID_RELOAD_BUTTON); location_bar_ = new LocationBarView(profile, browser_->command_updater(), - model_, this, - display_mode_ == DISPLAYMODE_LOCATION); + model_, this, (display_mode_ == DISPLAYMODE_LOCATION) ? + LocationBarView::POPUP : LocationBarView::NORMAL); // The Go button. go_ = new GoButton(location_bar_, browser_); |