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

Unified Diff: chrome/utility/media_galleries/picasa_album_table_reader.cc

Issue 1220963005: Update base::StartsWith calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@starts_with
Patch Set: Created 5 years, 6 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/utility/media_galleries/picasa_album_table_reader.cc
diff --git a/chrome/utility/media_galleries/picasa_album_table_reader.cc b/chrome/utility/media_galleries/picasa_album_table_reader.cc
index 94b4aa5d0a414f5fc3f938be0afb991a3ddd0447..2deba4ea5d6164212fd9a77bf8ca0568bcbcdfa5 100644
--- a/chrome/utility/media_galleries/picasa_album_table_reader.cc
+++ b/chrome/utility/media_galleries/picasa_album_table_reader.cc
@@ -91,7 +91,8 @@ bool PicasaAlbumTableReader::Init() {
if (category == kAlbumCategoryAlbum) {
std::string token;
if (!token_column.ReadString(i, &token) || token.empty() ||
- !base::StartsWithASCII(token, kAlbumTokenPrefix, false)) {
+ !base::StartsWith(token, kAlbumTokenPrefix,
+ base::CompareCase::INSENSITIVE_ASCII)) {
continue;
}

Powered by Google App Engine
This is Rietveld 408576698