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

Unified Diff: chrome/browser/location_bar_util.cc

Issue 5154009: Cleanup AdjustStringForLocaleDirection() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: further fixes Created 10 years, 1 month 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/location_bar_util.cc
diff --git a/chrome/browser/location_bar_util.cc b/chrome/browser/location_bar_util.cc
index 3542070dd2f0ef3039222b7d900d978f813c239e..a398ada7196a97a0a3037b41e1e9fe8ea0ff57d8 100644
--- a/chrome/browser/location_bar_util.cc
+++ b/chrome/browser/location_bar_util.cc
@@ -35,7 +35,7 @@ std::wstring CalculateMinString(const std::wstring& description) {
} else {
min_string = description.substr(0, chop_index);
}
- base::i18n::AdjustStringForLocaleDirection(min_string, &min_string);
+ base::i18n::AdjustStringForLocaleDirection(&min_string);
return min_string;
}

Powered by Google App Engine
This is Rietveld 408576698