Index: content/public/test/async_file_test_helper.cc |
diff --git a/content/public/test/async_file_test_helper.cc b/content/public/test/async_file_test_helper.cc |
index 6d4449bb53621c539e987a12c3c9565fda3679aa..2c5e5d2aad98415ea727cd764defc5a29eb8066d 100644 |
--- a/content/public/test/async_file_test_helper.cc |
+++ b/content/public/test/async_file_test_helper.cc |
@@ -104,11 +104,10 @@ base::File::Error AsyncFileTestHelper::CopyWithProgress( |
const CopyProgressCallback& progress_callback) { |
base::File::Error result = base::File::FILE_ERROR_FAILED; |
base::RunLoop run_loop; |
- context->operation_runner()->Copy(src, |
- dest, |
- storage::FileSystemOperation::OPTION_NONE, |
- progress_callback, |
- AssignAndQuitCallback(&run_loop, &result)); |
+ context->operation_runner()->Copy( |
+ src, dest, storage::FileSystemOperation::OPTION_NONE, |
+ storage::FileSystemOperation::ERROR_BEHAVIOR_TERMINATE, progress_callback, |
+ AssignAndQuitCallback(&run_loop, &result)); |
run_loop.Run(); |
return result; |
} |