| Index: chrome/browser/chromeos/drive/drive_feed_processor.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_feed_processor.cc b/chrome/browser/chromeos/drive/drive_feed_processor.cc
|
| index fc36a446734eb13fc1f82c04fcafe6808d0dae0d..379b001ba6dcdbdefece893518ddc1a5301b331b 100644
|
| --- a/chrome/browser/chromeos/drive/drive_feed_processor.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_feed_processor.cc
|
| @@ -92,6 +92,9 @@ void DriveFeedProcessor::ApplyEntryProtoMap(
|
|
|
| scoped_ptr<DriveResourceMetadata> orphaned_resources(
|
| new DriveResourceMetadata);
|
| + // This may look weird, but the root has to have some resource ID,
|
| + // otherwise cleaning up the resource metadata fails.
|
| + orphaned_resources->SetRootResourceId("orphan");
|
|
|
| // TODO(achuith): Get rid of this conversion of DriveEntryProtoMap to
|
| // ResourceMap.
|
|
|