diff options
Diffstat (limited to 'webkit/fileapi/file_system_file_util_unittest.cc')
-rw-r--r-- | webkit/fileapi/file_system_file_util_unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/fileapi/file_system_file_util_unittest.cc b/webkit/fileapi/file_system_file_util_unittest.cc index 7e45cef..b33b32a 100644 --- a/webkit/fileapi/file_system_file_util_unittest.cc +++ b/webkit/fileapi/file_system_file_util_unittest.cc @@ -51,16 +51,16 @@ class FileSystemFileUtilTest : public testing::Test { bool copy) { base::ScopedTempDir base_dir; ASSERT_TRUE(base_dir.CreateUniqueTempDir()); - scoped_ptr<ObfuscatedFileUtil> file_util( - new ObfuscatedFileUtil(base_dir.path())); LocalFileSystemTestOriginHelper src_helper(src_origin, src_type); src_helper.SetUp(base_dir.path(), false, // unlimited quota - NULL, // quota::QuotaManagerProxy - file_util.get()); + NULL); // quota::QuotaManagerProxy LocalFileSystemTestOriginHelper dest_helper(dest_origin, dest_type); - dest_helper.SetUp(src_helper.file_system_context(), file_util.get()); + dest_helper.SetUp(src_helper.file_system_context()); + + ObfuscatedFileUtil* file_util = static_cast<ObfuscatedFileUtil*>( + src_helper.file_util()); // Set up all the source data. scoped_ptr<FileSystemOperationContext> context; |