Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: webkit/browser/fileapi/sandbox_file_stream_writer.cc

Issue 18023022: Blob support for IDB [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle the rest of Josh's feedback. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698