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

Unified Diff: chrome/browser/ui/gtk/gtk_util.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/ui/gtk/gtk_util.cc
diff --git a/chrome/browser/ui/gtk/gtk_util.cc b/chrome/browser/ui/gtk/gtk_util.cc
index 1dbe43e5d0aea2bc299f3e8a05cd11dd74da2dbe..22bd2315417a36504956e50c6b9c1e0ea93fbc00 100644
--- a/chrome/browser/ui/gtk/gtk_util.cc
+++ b/chrome/browser/ui/gtk/gtk_util.cc
@@ -947,7 +947,7 @@ string16 GetStockPreferencesMenuLabel() {
string16 preferences;
if (gtk_stock_lookup(GTK_STOCK_PREFERENCES, &stock_item)) {
const char16 kUnderscore[] = { '_', 0 };
- RemoveChars(UTF8ToUTF16(stock_item.label), kUnderscore, &preferences);
+ base::RemoveChars(UTF8ToUTF16(stock_item.label), kUnderscore, &preferences);
}
return preferences;
}

Powered by Google App Engine
This is Rietveld 408576698