Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab_strip.cc |
| diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc |
| index cc5b5e993f5ddaba62970cfd07f93f6219a3dbc0..1e6c8ef79f9c1c7955067f90403798fd5867899e 100644 |
| --- a/chrome/browser/ui/views/tabs/tab_strip.cc |
| +++ b/chrome/browser/ui/views/tabs/tab_strip.cc |
| @@ -2593,8 +2593,7 @@ void TabStrip::SwapLayoutIfNecessary() { |
| return; |
| if (needs_touch) { |
| - gfx::Size tab_size(Tab::GetMinimumActiveSize()); |
| - tab_size.set_width(Tab::GetTouchWidth()); |
| + gfx::Size tab_size(Tab::GetTouchWidth(), GetLayoutConstant(TAB_HEIGHT)); |
|
Peter Kasting
2016/12/21 22:56:20
This isn't related to the rest of the CL, it snuck
|
| touch_layout_.reset(new StackedTabStripLayout( |
| tab_size, Tab::kOverlap, kStackedPadding, kMaxStackedCount, &tabs_)); |
| touch_layout_->SetWidth(GetTabAreaWidth()); |