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

Unified Diff: runtime/bin/process_patch.dart

Issue 12342014: Remove deprecated ms arguments for Timer and Future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: runtime/bin/process_patch.dart
diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart
index 72761c35e711462b5e387167ffaa121017b600bd..dd43b104245131088aa330883cfc685f5ba37194 100644
--- a/runtime/bin/process_patch.dart
+++ b/runtime/bin/process_patch.dart
@@ -156,7 +156,7 @@ class _ProcessImpl extends NativeFieldWrapperClass1 implements Process {
var completer = new Completer();
// TODO(ager): Make the actual process starting really async instead of
// simulating it with a timer.
- new Timer(0, (_) {
+ Timer.run(() {
var status = new _ProcessStartStatus();
bool success = _startNative(_path,
_arguments,

Powered by Google App Engine
This is Rietveld 408576698