| Index: chrome/browser/chromeos/drive/sync_client_unittest.cc
|
| diff --git a/chrome/browser/chromeos/drive/sync_client_unittest.cc b/chrome/browser/chromeos/drive/sync_client_unittest.cc
|
| index 60d4de95a53acbdf4e906389d5dec8967e5a4c60..f1fba44cf11508d464dbb44366f0eb75b7aa5300 100644
|
| --- a/chrome/browser/chromeos/drive/sync_client_unittest.cc
|
| +++ b/chrome/browser/chromeos/drive/sync_client_unittest.cc
|
| @@ -95,7 +95,7 @@ class SyncClientTest : public testing::Test {
|
| metadata_storage_.get(), base::MessageLoopProxy::current()));
|
| ASSERT_EQ(FILE_ERROR_OK, metadata_->Initialize());
|
|
|
| - cache_.reset(new FileCache(temp_dir_.path(),
|
| + cache_.reset(new FileCache(metadata_storage_.get(),
|
| temp_dir_.path(),
|
| base::MessageLoopProxy::current(),
|
| NULL /* free_disk_space_getter */));
|
| @@ -114,12 +114,6 @@ class SyncClientTest : public testing::Test {
|
| sync_client_->set_delay_for_testing(base::TimeDelta::FromSeconds(0));
|
| }
|
|
|
| - virtual void TearDown() OVERRIDE {
|
| - sync_client_.reset();
|
| - cache_.reset();
|
| - metadata_.reset();
|
| - }
|
| -
|
| // Adds a file to the service root and |resource_ids_|.
|
| void AddFileEntry(const std::string& title) {
|
| google_apis::GDataErrorCode error = google_apis::GDATA_FILE_ERROR;
|
|
|