Index: content/browser/indexed_db/indexed_db_backing_store.cc |
diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc |
index 3c5aa2d9537b13b0a734d8ca98ec963d2f55ac60..2f642e1a3b574bab2bf3f63c39c6cfe9450fcb1c 100644 |
--- a/content/browser/indexed_db/indexed_db_backing_store.cc |
+++ b/content/browser/indexed_db/indexed_db_backing_store.cc |
@@ -1972,7 +1972,8 @@ class LocalWriteClosure : public FileWriterDelegate::DelegateWriteCallback, |
task_runner_, file_path, 0, |
fileapi::FileStreamWriter::CREATE_NEW_FILE)); |
scoped_ptr<FileWriterDelegate> delegate( |
- new FileWriterDelegate(writer.Pass())); |
+ new FileWriterDelegate(writer.Pass(), |
+ FileWriterDelegate::FLUSH_ON_COMPLETION)); |
DCHECK(blob_url.is_valid()); |
scoped_ptr<net::URLRequest> blob_request(request_context->CreateRequest( |