summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-13 17:01:03 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-13 17:01:03 +0000
commit8e65f11ba2e6ba7ebbc81e23aef288969b0f5ebd (patch)
tree58f98c54ae416766a6cc2269f1223e2e58f15044 /chrome
parent71c311bb926357af4adea1eb4206c3455be69c29 (diff)
downloadchromium_src-8e65f11ba2e6ba7ebbc81e23aef288969b0f5ebd.zip
chromium_src-8e65f11ba2e6ba7ebbc81e23aef288969b0f5ebd.tar.gz
chromium_src-8e65f11ba2e6ba7ebbc81e23aef288969b0f5ebd.tar.bz2
Fixes regression in placement of new tab button.
BUG=32159 TEST=see bug TBR=ben@chromium.org Review URL: http://codereview.chromium.org/543043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/tabs/tab_strip.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc
index 6587a78..ff9df02 100644
--- a/chrome/browser/views/tabs/tab_strip.cc
+++ b/chrome/browser/views/tabs/tab_strip.cc
@@ -1813,7 +1813,7 @@ void TabStrip::LayoutNewTabButton(double last_tab_right,
double unselected_width) {
int delta = abs(Round(unselected_width) - Tab::GetStandardSize().width());
int v_offset = browser_defaults::kSizeTabButtonToTopOfTabStrip ?
- 0 : kNewTabButtonHOffset;
+ 0 : kNewTabButtonVOffset;
if (delta > 1 && !needs_resize_layout_) {
// We're shrinking tabs, so we need to anchor the New Tab button to the
// right edge of the TabStrip's bounds, rather than the right edge of the