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

Unified Diff: chrome/utility/media_galleries/iphoto_library_parser.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/utility/media_galleries/iphoto_library_parser.cc
diff --git a/chrome/utility/media_galleries/iphoto_library_parser.cc b/chrome/utility/media_galleries/iphoto_library_parser.cc
index c42a53f300b2602c72b39ca7cfa651e9bcb156a1..cd52a6b647765eeae60c47af4600d830c25ba357 100644
--- a/chrome/utility/media_galleries/iphoto_library_parser.cc
+++ b/chrome/utility/media_galleries/iphoto_library_parser.cc
@@ -278,7 +278,7 @@ bool IPhotoLibraryParser::Parse(const std::string& library_xml) {
album = album_info.photo_ids;
// Strip / from album name and dedupe any collisions.
std::string name;
- ReplaceChars(album_info.name, "//", " ", &name);
+ base::ReplaceChars(album_info.name, "//", " ", &name);
if (!ContainsKey(library_.albums, name)) {
library_.albums[name] = album;
} else {

Powered by Google App Engine
This is Rietveld 408576698