summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 23:39:36 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 23:39:36 +0000
commit02230e9152bd2b962a681d7fee759ef258914eb7 (patch)
tree0369fdd09ca7d4a4bc3ad958839e093cdee42983
parent8c03fa5a37f1a1820c42e614b6955a2db3e5ba55 (diff)
downloadchromium_src-02230e9152bd2b962a681d7fee759ef258914eb7.zip
chromium_src-02230e9152bd2b962a681d7fee759ef258914eb7.tar.gz
chromium_src-02230e9152bd2b962a681d7fee759ef258914eb7.tar.bz2
Fix erroneous sign when drawing path for right endcap of tabs, causing them to not be selectable for much of the right endcap.
Review URL: http://codereview.chromium.org/115836 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17038 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/views/tabs/tab.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc
index 037cb41..6118699 100644
--- a/chrome/browser/views/tabs/tab.cc
+++ b/chrome/browser/views/tabs/tab.cc
@@ -272,7 +272,7 @@ void Tab::MakePathForTab(gfx::Path* path) const {
path->lineTo(w - kTabCapWidth, 0);
// Right end cap.
- path->lineTo(w - kTabCapWidth - kTabTopCurveWidth, kTabTopCurveWidth);
+ path->lineTo(w - kTabCapWidth + kTabTopCurveWidth, kTabTopCurveWidth);
path->lineTo(w - kTabBottomCurveWidth, h - kTabBottomCurveWidth);
path->lineTo(w, h);