| Index: webkit/fileapi/file_system_operation_unittest.cc
|
| diff --git a/webkit/fileapi/file_system_operation_unittest.cc b/webkit/fileapi/file_system_operation_unittest.cc
|
| index 9cd6103d2064604d51ba93f2c0a045a01ac2332b..2488b4b552fc5f11b950c91fed081f0596f54212 100644
|
| --- a/webkit/fileapi/file_system_operation_unittest.cc
|
| +++ b/webkit/fileapi/file_system_operation_unittest.cc
|
| @@ -248,6 +248,7 @@ class FileSystemOperationTest : public testing::Test {
|
| std::vector<base::FileUtilProxy::Entry> entries_;
|
|
|
| private:
|
| + scoped_ptr<LocalFileSystemFileUtil> local_file_util_;
|
| scoped_refptr<QuotaManager> quota_manager_;
|
| scoped_refptr<QuotaManagerProxy> quota_manager_proxy_;
|
| DISALLOW_COPY_AND_ASSIGN(FileSystemOperationTest);
|
| @@ -297,6 +298,8 @@ class MockDispatcher : public FileSystemCallbackDispatcher {
|
|
|
| void FileSystemOperationTest::SetUp() {
|
| FilePath base_dir = base_.path().AppendASCII("filesystem");
|
| + local_file_util_.reset(
|
| + new LocalFileSystemFileUtil(QuotaFileUtil::GetInstance()));
|
| quota_manager_ = new MockQuotaManager(
|
| base_dir, test_helper_.origin(), test_helper_.storage_type());
|
| quota_manager_proxy_ = new MockQuotaManagerProxy(quota_manager_.get());
|
| @@ -304,7 +307,7 @@ void FileSystemOperationTest::SetUp() {
|
| false /* incognito */,
|
| false /* unlimited quota */,
|
| quota_manager_proxy_.get(),
|
| - LocalFileSystemFileUtil::GetInstance());
|
| + local_file_util_.get());
|
| }
|
|
|
| void FileSystemOperationTest::TearDown() {
|
| @@ -313,6 +316,7 @@ void FileSystemOperationTest::TearDown() {
|
| quota_manager_ = NULL;
|
| quota_manager_proxy_ = NULL;
|
| test_helper_.TearDown();
|
| + local_file_util_.reset();
|
| }
|
|
|
| FileSystemOperation* FileSystemOperationTest::operation() {
|
|
|