Index: chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc |
diff --git a/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc b/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc |
index 9a6f864572c854ffa806ca5fb1936f04475c48e4..a6874ac6e8846fbafc7f92789974781c4e81fe5a 100644 |
--- a/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc |
+++ b/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc |
@@ -179,9 +179,10 @@ GDataErrorCode FakeDriveServiceHelper::RenameResource( |
const std::string& file_id, |
const std::string& new_title) { |
GDataErrorCode error = google_apis::GDATA_OTHER_ERROR; |
- fake_drive_service_->RenameResource( |
- file_id, new_title, |
- CreateResultReceiver(&error)); |
+ scoped_ptr<FileResource> entry; |
+ fake_drive_service_->UpdateResource( |
+ file_id, std::string(), new_title, base::Time(), base::Time(), |
+ CreateResultReceiver(&error, &entry)); |
base::RunLoop().RunUntilIdle(); |
return error; |
} |