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

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

Issue 26993002: Add factory-method for scheduleMicrotask, as well as a (failing) test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/lib/schedule_microtask_patch.dart ('k') | sdk/lib/async/async.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bb1aa7cbef020f73fc884a7ef7ddbd17913b4127..07b1cd20fc4b7776cd91603f62fb1ca311ca055f 100644
--- a/sdk/lib/_internal/lib/async_patch.dart
+++ b/sdk/lib/_internal/lib/async_patch.dart
@@ -22,7 +22,7 @@ patch Timer _createPeriodicTimer(Duration duration,
}
patch class _AsyncRun {
- patch static void _enqueueImmediate(void callback()) {
+ patch static void _scheduleImmediate(void callback()) {
// TODO(9002): don't use the Timer to enqueue the immediate callback.
_createTimer(Duration.ZERO, callback);
}
« no previous file with comments | « runtime/lib/schedule_microtask_patch.dart ('k') | sdk/lib/async/async.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698