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

Unified Diff: sdk/lib/_internal/lib/async_patch.dart

Issue 79243002: Implement scheduleImmediate for the VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comments and types. Created 7 years, 1 month 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: sdk/lib/_internal/lib/async_patch.dart
diff --git a/sdk/lib/_internal/lib/async_patch.dart b/sdk/lib/_internal/lib/async_patch.dart
index 8d6bb2639ec86d42d01c8aec9eb51ff02a66832e..ddf16e3f31a4eda31ef543ca9984c775872a7ad6 100644
--- a/sdk/lib/_internal/lib/async_patch.dart
+++ b/sdk/lib/_internal/lib/async_patch.dart
@@ -21,13 +21,6 @@ patch Timer _createPeriodicTimer(Duration duration,
return new TimerImpl.periodic(milliseconds, callback);
}
-patch class _AsyncRun {
- patch static void _scheduleImmediate(void callback()) {
- // TODO(9002): don't use the Timer to enqueue the immediate callback.
- _createTimer(Duration.ZERO, callback);
- }
-}
-
patch class DeferredLibrary {
patch Future<bool> load() {
return _load(libraryName, uri);

Powered by Google App Engine
This is Rietveld 408576698