| Index: chrome/browser/chromeos/gdata/gdata_file_system.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/gdata/gdata_file_system.cc (revision 150246)
|
| +++ chrome/browser/chromeos/gdata/gdata_file_system.cc (working copy)
|
| @@ -2866,8 +2866,7 @@
|
| *resource_id = entry->AsGDataFile()->resource_id();
|
|
|
| GDataDirectory* parent_dir = entry->parent();
|
| - if (!parent_dir->RemoveEntry(entry))
|
| - return GDATA_FILE_ERROR_NOT_FOUND;
|
| + parent_dir->RemoveEntry(entry);
|
|
|
| FOR_EACH_OBSERVER(GDataFileSystemInterface::Observer, observers_,
|
| OnDirectoryChanged(parent_dir->GetFilePath()));
|
|
|