summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/first_run_win.cc')
-rw-r--r--chrome/browser/first_run_win.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/first_run_win.cc b/chrome/browser/first_run_win.cc
index 86a79e5..4797a73 100644
--- a/chrome/browser/first_run_win.cc
+++ b/chrome/browser/first_run_win.cc
@@ -925,9 +925,8 @@ class TryChromeDialog : public views::ButtonListener,
// account the differences between XP and Vista fonts and buttons.
layout->Layout(root_view);
gfx::Size preferred = layout->GetPreferredSize(root_view);
- pos = ComputeWindowPosition(preferred.width(),
- preferred.height(),
- root_view->UILayoutIsRightToLeft());
+ pos = ComputeWindowPosition(preferred.width(), preferred.height(),
+ base::i18n::IsRTL());
popup->SetBounds(pos);
// Carve the toast shape into the window.