Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6253)

Unified Diff: chrome/common/localized_error.cc

Issue 232773008: More removal of GTK code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base/ so I don't need another stamp. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/localized_error.cc
diff --git a/chrome/common/localized_error.cc b/chrome/common/localized_error.cc
index 1d95c20a36466700bea19797d378002830c674f7..3976b6fa53066fd7ef28a31d6ee3ac5c49151e8b 100644
--- a/chrome/common/localized_error.cc
+++ b/chrome/common/localized_error.cc
@@ -454,13 +454,7 @@ const LocalizedErrorMap* LookupErrorMap(const std::string& error_domain,
}
bool LocaleIsRTL() {
-#if defined(TOOLKIT_GTK)
- // base::i18n::IsRTL() uses the GTK text direction, which doesn't work within
- // the renderer sandbox.
- return base::i18n::ICUIsRTL();
-#else
return base::i18n::IsRTL();
-#endif
}
// Returns a dictionary containing the strings for the settings menu under the
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_impl.cc ('k') | chrome/test/base/interactive_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698