Index: content/browser/download/base_file.cc |
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc |
index 6ada5c8205123888fae51a78ce7973873acbe9e6..cc7871fcedde3d1a34ba8488651b4e4f96a7b20a 100644 |
--- a/content/browser/download/base_file.cc |
+++ b/content/browser/download/base_file.cc |
@@ -527,7 +527,7 @@ void BaseFile::Close() { |
#if defined(OS_CHROMEOS) |
// Currently we don't really care about the return value, since if it fails |
// theres not much we can do. But we might in the future. |
- file_stream_->Flush(); |
+ file_stream_->FlushSync(); |
#endif |
file_stream_->CloseSync(); |
ClearStream(net::OK); |