Index: webkit/fileapi/local_file_system_test_helper.cc |
diff --git a/webkit/fileapi/local_file_system_test_helper.cc b/webkit/fileapi/local_file_system_test_helper.cc |
index 1116d0ca4219dcfca848ad939f98d4db4bf3f257..92269199b68102b27628c79f9ce147f2f139dfca 100644 |
--- a/webkit/fileapi/local_file_system_test_helper.cc |
+++ b/webkit/fileapi/local_file_system_test_helper.cc |
@@ -173,8 +173,11 @@ LocalFileSystemTestOriginHelper::ComputeCurrentDirectoryDatabaseUsage() const { |
LocalFileSystemOperation* LocalFileSystemTestOriginHelper::NewOperation() { |
DCHECK(file_system_context_.get()); |
DCHECK(file_util_); |
+ scoped_ptr<FileSystemOperationContext> operation_context( |
+ new FileSystemOperationContext(file_system_context_.get())); |
LocalFileSystemOperation* operation = |
- new LocalFileSystemOperation(file_system_context_.get()); |
+ new LocalFileSystemOperation(file_system_context_.get(), |
+ operation_context.Pass()); |
operation->set_override_file_util(file_util_); |
return operation; |
} |