summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/async_file_test_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/browser/fileapi/async_file_test_helper.cc')
-rw-r--r--webkit/browser/fileapi/async_file_test_helper.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/browser/fileapi/async_file_test_helper.cc b/webkit/browser/fileapi/async_file_test_helper.cc
index e3343d5..50fd7cd 100644
--- a/webkit/browser/fileapi/async_file_test_helper.cc
+++ b/webkit/browser/fileapi/async_file_test_helper.cc
@@ -105,7 +105,7 @@ base::PlatformFileError AsyncFileTestHelper::CopyWithProgress(
base::PlatformFileError result = base::PLATFORM_FILE_ERROR_FAILED;
base::RunLoop run_loop;
context->operation_runner()->Copy(
- src, dest, progress_callback,
+ src, dest, FileSystemOperation::OPTION_NONE, progress_callback,
AssignAndQuitCallback(&run_loop, &result));
run_loop.Run();
return result;
@@ -118,7 +118,8 @@ base::PlatformFileError AsyncFileTestHelper::Move(
base::PlatformFileError result = base::PLATFORM_FILE_ERROR_FAILED;
base::RunLoop run_loop;
context->operation_runner()->Move(
- src, dest, AssignAndQuitCallback(&run_loop, &result));
+ src, dest, FileSystemOperation::OPTION_NONE,
+ AssignAndQuitCallback(&run_loop, &result));
run_loop.Run();
return result;
}