| Index: chrome/browser/drive/fake_drive_service.cc
|
| diff --git a/chrome/browser/drive/fake_drive_service.cc b/chrome/browser/drive/fake_drive_service.cc
|
| index c7638950ba39c0c2139af539eb8c7cd9dc1bc2fe..6ea4bf8e41876fa448e988ea5fc314fa5c94bd36 100644
|
| --- a/chrome/browser/drive/fake_drive_service.cc
|
| +++ b/chrome/browser/drive/fake_drive_service.cc
|
| @@ -1450,7 +1450,8 @@ base::DictionaryValue* FakeDriveService::FindEntryByResourceId(
|
| std::string current_resource_id;
|
| if (entries->GetDictionary(i, &entry) &&
|
| entry->GetString("gd$resourceId.$t", ¤t_resource_id) &&
|
| - resource_id == current_resource_id) {
|
| + resource_id == current_resource_id &&
|
| + !entry->HasKey("docs$removed")) {
|
| return entry;
|
| }
|
| }
|
|
|