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

Unified Diff: chrome/browser/search_engines/template_url.cc

Issue 1073005: Move RTL related functions from app/l10n_util to base/i18n/rtl... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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/browser/search_engines/template_url.cc
===================================================================
--- chrome/browser/search_engines/template_url.cc (revision 42180)
+++ chrome/browser/search_engines/template_url.cc (working copy)
@@ -6,6 +6,7 @@
#include "app/l10n_util.h"
#include "base/i18n/icu_string_conversions.h"
+#include "base/i18n/rtl.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
@@ -546,8 +547,8 @@
std::wstring TemplateURL::AdjustedShortNameForLocaleDirection() const {
std::wstring bidi_safe_short_name;
- if (l10n_util::AdjustStringForLocaleDirection(short_name_,
- &bidi_safe_short_name))
+ if (base::i18n::AdjustStringForLocaleDirection(short_name_,
+ &bidi_safe_short_name))
return bidi_safe_short_name;
return short_name_;
}
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_blocking_page.cc ('k') | chrome/browser/search_engines/template_url_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698