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

Unified Diff: runtime/bin/list_stream_impl.dart

Issue 9597015: Update Timer API to take the callback as the last parameter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | « runtime/bin/http_impl.dart ('k') | runtime/bin/process_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/list_stream_impl.dart
diff --git a/runtime/bin/list_stream_impl.dart b/runtime/bin/list_stream_impl.dart
index d148bfffee00312ca8352581a782fcb545837fa2..132b5b616647696020fd13e1b2654db82d5e1450 100644
--- a/runtime/bin/list_stream_impl.dart
+++ b/runtime/bin/list_stream_impl.dart
@@ -109,12 +109,12 @@ class _ListOutputStream implements ListOutputStream {
if (_clientNoPendingWriteHandler != null &&
_scheduledNoPendingWriteCallback == null) {
_scheduledNoPendingWriteCallback =
- new Timer(issueNoPendingWriteCallback, 0);
+ new Timer(0, issueNoPendingWriteCallback);
}
} else if (_clientCloseHandler != null &&
_streamMarkedClosed &&
!_closeCallbackCalled) {
- _scheduledCloseCallback = new Timer(issueCloseCallback, 0);
+ _scheduledCloseCallback = new Timer(0, issueCloseCallback);
_closeCallbackCalled = true;
}
}
« no previous file with comments | « runtime/bin/http_impl.dart ('k') | runtime/bin/process_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698