| Index: chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc b/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
|
| index e73ece4fa4930ea2e7908c5f63ea01b710977e75..b6969bea22cbc94971ba27bdbe3f657bbf00705b 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
|
| +++ b/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
|
| @@ -328,10 +328,8 @@ class GDataFileSystemTest : public testing::Test {
|
| }
|
|
|
| GDataEntry* FindEntryByResourceId(const std::string& resource_id) {
|
| - GDataEntry* entry = NULL;
|
| - file_system_->FindEntryByResourceIdSync(
|
| - resource_id, base::Bind(&ReadOnlyFindEntryCallback, &entry));
|
| - return entry;
|
| + GDataEntry* entry = file_system_->root_->GetEntryByResourceId(resource_id);
|
| + return entry ? entry->AsGDataFile() : NULL;
|
| }
|
|
|
| // Gets the entry info for |file_path| and compares the contents against
|
|
|