Index: chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
index bc7983053fec615f28effc52e2ffe980f68a9a27..d8dec49e98c575784fe5708da6fcbb39730f3dc0 100644 |
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
@@ -919,8 +919,7 @@ |
current = files.Next()) { |
std::string file_name = current.BaseName().RemoveExtension().value(); |
// Do not add file name of small resolution wallpaper to the list. |
- if (!base::EndsWith(file_name, wallpaper::kSmallWallpaperSuffix, |
- base::CompareCase::SENSITIVE)) |
+ if (!base::EndsWith(file_name, wallpaper::kSmallWallpaperSuffix, true)) |
file_list.push_back(current.BaseName().value()); |
} |
} |