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

Unified Diff: runtime/bin/file_impl.dart

Issue 8992007: Make the repeating argument to timers optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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: runtime/bin/file_impl.dart
diff --git a/runtime/bin/file_impl.dart b/runtime/bin/file_impl.dart
index 3a72b9ae1a67c7f43acd7201bfc3e41db3e72ff1..60eef959111f01d46c62ccc72cb3c9e9b47f6c2f 100644
--- a/runtime/bin/file_impl.dart
+++ b/runtime/bin/file_impl.dart
@@ -97,11 +97,11 @@ class _FileInputStream implements FileInputStream {
if (!_closed) {
if (available() > 0) {
if (_scheduledDataCallback == null) {
- _scheduledDataCallback = new Timer(issueDataCallback, 0, false);
+ _scheduledDataCallback = new Timer(issueDataCallback, 0);
}
} else if (!_eof) {
if (_scheduledCloseCallback == null) {
- _scheduledCloseCallback = new Timer(issueCloseCallback, 0, false);
+ _scheduledCloseCallback = new Timer(issueCloseCallback, 0);
_eof = true;
}
}

Powered by Google App Engine
This is Rietveld 408576698