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

Unified Diff: pkg/front_end/lib/src/incremental/file_byte_store.dart

Issue 2971063002: Issue 30006. Don't flush on write to FileByteStore. (Closed)
Patch Set: Created 3 years, 5 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/incremental/file_byte_store.dart
diff --git a/pkg/front_end/lib/src/incremental/file_byte_store.dart b/pkg/front_end/lib/src/incremental/file_byte_store.dart
index 083b6768c01b875ae70dbb0ec24d90900e01b851..7e7cc3763ba4bb642e23e25fe0d975ec03eefabb 100644
--- a/pkg/front_end/lib/src/incremental/file_byte_store.dart
+++ b/pkg/front_end/lib/src/incremental/file_byte_store.dart
@@ -159,7 +159,7 @@ class FileByteStore implements ByteStore {
void put(String key, List<int> bytes) {
try {
File tempFile = _getFileForKey(_tempName);
- tempFile.writeAsBytesSync(bytes, flush: true);
+ tempFile.writeAsBytesSync(bytes);
File file = _getFileForKey(key);
tempFile.renameSync(file.path);
} catch (_) {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698