| Index: chrome/browser/chromeos/drive/search_metadata.cc
|
| diff --git a/chrome/browser/chromeos/drive/search_metadata.cc b/chrome/browser/chromeos/drive/search_metadata.cc
|
| index 505a1d087f725cbe64ec27b1dcaf959f080255dc..845fc1c7bb3c5b5a957d5a58351ea4be6ba5347e 100644
|
| --- a/chrome/browser/chromeos/drive/search_metadata.cc
|
| +++ b/chrome/browser/chromeos/drive/search_metadata.cc
|
| @@ -118,9 +118,10 @@ bool IsEligibleEntry(const ResourceEntry& entry,
|
| return cache_entry.is_present();
|
| }
|
|
|
| - // Exclude "drive", "drive/root", and "drive/other".
|
| + // Exclude "drive", "drive/root", "drive/other" and deleted entries.
|
| if (it->GetID() == util::kDriveGrandRootLocalId ||
|
| - entry.parent_local_id() == util::kDriveGrandRootLocalId) {
|
| + entry.parent_local_id() == util::kDriveGrandRootLocalId ||
|
| + entry.deleted()) {
|
| return false;
|
| }
|
|
|
|
|