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

Unified Diff: runtime/lib/event_loop_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/async_sources.gypi ('k') | runtime/lib/schedule_microtask_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/event_loop_patch.dart
diff --git a/runtime/lib/event_loop_patch.dart b/runtime/lib/event_loop_patch.dart
deleted file mode 100644
index fe04c060bed955d4c596ac7d6bd1a4ffd30eebe6..0000000000000000000000000000000000000000
--- a/runtime/lib/event_loop_patch.dart
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-patch class _AsyncRun {
- /* patch */ static void _enqueueImmediate(void callback()) {
- // TODO(9001): don't use the Timer to enqueue the immediate callback.
- _createTimer(Duration.ZERO, callback);
- }
-}
« no previous file with comments | « runtime/lib/async_sources.gypi ('k') | runtime/lib/schedule_microtask_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698