summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/views/controls/tabbed_pane/tabbed_pane.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.cc b/ui/views/controls/tabbed_pane/tabbed_pane.cc
index 9cf8588..65021d2 100644
--- a/ui/views/controls/tabbed_pane/tabbed_pane.cc
+++ b/ui/views/controls/tabbed_pane/tabbed_pane.cc
@@ -230,7 +230,7 @@ void TabStrip::OnPaint(gfx::Canvas* canvas) {
SkIntToScalar(selected_tab->height()) - kTabBorderThickness;
SkScalar tab_width =
SkIntToScalar(selected_tab->width()) - kTabBorderThickness;
- SkScalar tab_start = SkIntToScalar(selected_tab->x());
+ SkScalar tab_start = SkIntToScalar(selected_tab->GetMirroredX());
path.moveTo(0, line_y);
path.rLineTo(tab_start, 0);
path.rLineTo(0, -tab_height);