summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 22:07:01 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 22:07:01 +0000
commit4750a86ea19e14d99a6b5fc94cd18d08ced463da (patch)
treed27c31a9f779846723970a150a294c3f7e9b5bed /chrome/browser/views
parentb9700fe362c89fa62f6eae83c0e491e0afa7ac63 (diff)
downloadchromium_src-4750a86ea19e14d99a6b5fc94cd18d08ced463da.zip
chromium_src-4750a86ea19e14d99a6b5fc94cd18d08ced463da.tar.gz
chromium_src-4750a86ea19e14d99a6b5fc94cd18d08ced463da.tar.bz2
After staring at this line of code I realized it was saying something much simpler.
Review URL: http://codereview.chromium.org/14904 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/frame/aero_glass_non_client_view.cc4
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;