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 d8dec49e98c575784fe5708da6fcbb39730f3dc0..bc7983053fec615f28effc52e2ffe980f68a9a27 100644 |
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
@@ -919,7 +919,8 @@ void WallpaperPrivateGetOfflineWallpaperListFunction::GetList() { |
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, true)) |
+ if (!base::EndsWith(file_name, wallpaper::kSmallWallpaperSuffix, |
+ base::CompareCase::SENSITIVE)) |
file_list.push_back(current.BaseName().value()); |
} |
} |