Index: webkit/browser/fileapi/sandbox_file_stream_writer.cc |
diff --git a/webkit/browser/fileapi/sandbox_file_stream_writer.cc b/webkit/browser/fileapi/sandbox_file_stream_writer.cc |
index 24fe1c947b1bf5b8c8cb52921b59fa6598de3cfa..4f2b7cef1a3dddd4562bd6e88a403d29f30e2f54 100644 |
--- a/webkit/browser/fileapi/sandbox_file_stream_writer.cc |
+++ b/webkit/browser/fileapi/sandbox_file_stream_writer.cc |
@@ -138,8 +138,10 @@ void SandboxFileStreamWriter::DidCreateSnapshotFile( |
} |
DCHECK(!local_file_writer_.get()); |
local_file_writer_.reset(FileStreamWriter::CreateForLocalFile( |
- file_system_context_->default_file_task_runner(), platform_path, |
- initial_offset_)); |
+ file_system_context_->default_file_task_runner(), |
+ platform_path, |
+ initial_offset_, |
+ FileStreamWriter::OPEN_EXISTING)); |
quota::QuotaManagerProxy* quota_manager_proxy = |
file_system_context_->quota_manager_proxy(); |