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

Unified Diff: sdk/lib/io/timer_impl.dart

Issue 12425004: Fix deprecation warnings in dart:io. Now completely warning free. (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
« no previous file with comments | « sdk/lib/io/string_transformer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/timer_impl.dart
diff --git a/sdk/lib/io/timer_impl.dart b/sdk/lib/io/timer_impl.dart
index c08f3bb1c62b10f5b27e6800ee5f4ad86453daf2..cf92388ccd92bcf80f70119f2a497adf7184ed1f 100644
--- a/sdk/lib/io/timer_impl.dart
+++ b/sdk/lib/io/timer_impl.dart
@@ -84,7 +84,7 @@ class _Timer implements Timer {
}
entry = entry.nextEntry();
}
- _timers.addLast(this);
+ _timers.add(this);
}
}
@@ -132,7 +132,7 @@ class _Timer implements Timer {
_Timer timer = entry.element;
if (timer._wakeupTime <= currentTime) {
entry.remove();
- pending_timers.addLast(timer);
+ pending_timers.add(timer);
entry = _timers.firstEntry();
} else {
break;
« no previous file with comments | « sdk/lib/io/string_transformer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698