| Index: chrome/browser/media_galleries/media_scan_manager.cc
|
| diff --git a/chrome/browser/media_galleries/media_scan_manager.cc b/chrome/browser/media_galleries/media_scan_manager.cc
|
| index 338fe00201f6ceefbfbc5ce926860a14a7484d6d..91c06cf4d310be04aa63cad6ae3f7279854c9f63 100644
|
| --- a/chrome/browser/media_galleries/media_scan_manager.cc
|
| +++ b/chrome/browser/media_galleries/media_scan_manager.cc
|
| @@ -160,7 +160,9 @@ void AddScanResultsForProfile(
|
| if (!gallery.IsBlackListedType()) {
|
| MediaGalleryScanResult file_counts =
|
| SumFilesUnderPath(gallery.AbsolutePath(), child_folders);
|
| - if (!IsEmptyScanResult(file_counts) && !gallery.IsBlackListedType()) {
|
| + if (gallery.audio_count != file_counts.audio_count ||
|
| + gallery.image_count != file_counts.image_count ||
|
| + gallery.video_count != file_counts.video_count) {
|
| to_update[it->first] = file_counts;
|
| }
|
| }
|
|
|