diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-10 23:15:21 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-10 23:15:21 +0000 |
commit | c2f4bdb7deec2fe9aaa3583ff2066e634001be8f (patch) | |
tree | e1ba425190c39667910ff1c864bdee6afc4bd191 /chrome/browser/views/options | |
parent | 6e76d8d105739f3b40274dd0247a75ea44e46a89 (diff) | |
download | chromium_src-c2f4bdb7deec2fe9aaa3583ff2066e634001be8f.zip chromium_src-c2f4bdb7deec2fe9aaa3583ff2066e634001be8f.tar.gz chromium_src-c2f4bdb7deec2fe9aaa3583ff2066e634001be8f.tar.bz2 |
Eliminate View::UILayoutIsRightToLeft() to standardize on base::i18n::IsRTL(). Was only needed for EnableUIMirroringForRTLLanguages(), which was only used by Views::Label, which already had this capability via set_rtl_alignment_mode().
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1991002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/options')
-rw-r--r-- | chrome/browser/views/options/advanced_contents_view.cc | 2 | ||||
-rw-r--r-- | chrome/browser/views/options/general_page_view.cc | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/options/advanced_contents_view.cc b/chrome/browser/views/options/advanced_contents_view.cc index e85d420..5e5a24e 100644 --- a/chrome/browser/views/options/advanced_contents_view.cc +++ b/chrome/browser/views/options/advanced_contents_view.cc @@ -186,7 +186,7 @@ void FileDisplayArea::Init() { void FileDisplayArea::InitClass() { static bool initialized = false; if (!initialized) { - // We'd prefer to use UILayoutIsRightToLeft() to perform the RTL + // We'd prefer to use base::i18n::IsRTL() to perform the RTL // environment check, but it's nonstatic, so, instead, we check whether the // locale is RTL. bool ui_is_rtl = base::i18n::IsRTL(); diff --git a/chrome/browser/views/options/general_page_view.cc b/chrome/browser/views/options/general_page_view.cc index 1cc88b3..d1db4ed 100644 --- a/chrome/browser/views/options/general_page_view.cc +++ b/chrome/browser/views/options/general_page_view.cc @@ -8,7 +8,6 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/callback.h" -#include "base/i18n/rtl.h" #include "base/message_loop.h" #include "base/string_util.h" #include "chrome/browser/browser.h" |