diff options
Diffstat (limited to 'chrome/browser/chromeos/extensions/wallpaper_private_api.cc')
-rw-r--r-- | chrome/browser/chromeos/extensions/wallpaper_private_api.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc index d8dec49..bc79830 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()); } } |