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

Unified Diff: runtime/bin/chunked_stream.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/chunked_stream.dart
diff --git a/runtime/bin/chunked_stream.dart b/runtime/bin/chunked_stream.dart
index a257974096cdfa2276f5596dc00cbfca03bbcc5c..3b21a65e3056e28497392350048e77ba502990fa 100644
--- a/runtime/bin/chunked_stream.dart
+++ b/runtime/bin/chunked_stream.dart
@@ -110,7 +110,7 @@ class _ChunkedInputStream implements ChunkedInputStream {
(_bufferList.length > 0 && _inputClosed)) &&
_clientDataHandler !== null &&
_scheduledDataCallback == null) {
- _scheduledDataCallback = new Timer(issueDataCallback, 0, false);
+ _scheduledDataCallback = new Timer(issueDataCallback, 0);
}
// Schedule close callback if no more data and input is closed.
@@ -118,7 +118,7 @@ class _ChunkedInputStream implements ChunkedInputStream {
_inputClosed &&
!_closed &&
_scheduledCloseCallback == null) {
- _scheduledCloseCallback = new Timer(issueCloseCallback, 0, false);
+ _scheduledCloseCallback = new Timer(issueCloseCallback, 0);
}
}

Powered by Google App Engine
This is Rietveld 408576698