diff options
-rw-r--r-- | chrome/browser/views/frame/aero_glass_non_client_view.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/views/frame/aero_glass_non_client_view.cc b/chrome/browser/views/frame/aero_glass_non_client_view.cc index 2f5b18c..f50961a 100644 --- a/chrome/browser/views/frame/aero_glass_non_client_view.cc +++ b/chrome/browser/views/frame/aero_glass_non_client_view.cc @@ -145,9 +145,7 @@ gfx::Rect AeroGlassNonClientView::GetBoundsForTabStrip(TabStrip* tabstrip) { titlebar_info.cbSize = sizeof(TITLEBARINFOEX); SendMessage(frame_->GetHWND(), WM_GETTITLEBARINFOEX, 0, reinterpret_cast<WPARAM>(&titlebar_info)); - - // rgrect[2] refers to the minimize button. - tabstrip_width -= (tabstrip_width - titlebar_info.rgrect[2].left); + tabstrip_width = titlebar_info.rgrect[2].left; // Edge of minimize button } int tabstrip_height = tabstrip->GetPreferredHeight(); int tabstrip_x = otr_avatar_bounds_.width() + kOTRAvatarIconTabStripSpacing; |