| Index: webkit/browser/fileapi/file_system_operation_runner.cc
|
| diff --git a/webkit/browser/fileapi/file_system_operation_runner.cc b/webkit/browser/fileapi/file_system_operation_runner.cc
|
| index aa4c43534200b1981b92adb0c2071717102f6e3f..4674cf86e879b66c37752d6b3c662eb6ca510b56 100644
|
| --- a/webkit/browser/fileapi/file_system_operation_runner.cc
|
| +++ b/webkit/browser/fileapi/file_system_operation_runner.cc
|
| @@ -260,8 +260,12 @@ OperationID FileSystemOperationRunner::Write(
|
| return handle.id;
|
| }
|
|
|
| + FileWriterDelegate::FlushPolicy flush_policy =
|
| + file_system_context_->ShouldFlushOnWriteCompletion(url.type())
|
| + ? FileWriterDelegate::FLUSH_ON_COMPLETION
|
| + : FileWriterDelegate::NO_FLUSH_ON_COMPLETION;
|
| scoped_ptr<FileWriterDelegate> writer_delegate(
|
| - new FileWriterDelegate(writer.Pass()));
|
| + new FileWriterDelegate(writer.Pass(), flush_policy));
|
|
|
| scoped_ptr<net::URLRequest> blob_request(
|
| webkit_blob::BlobProtocolHandler::CreateBlobRequest(
|
|
|