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

Unified Diff: runtime/lib/isolate_patch.dart

Issue 878323002: - Move timer implementation closer to the rest of message handling. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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/internal_patch.dart ('k') | runtime/lib/isolate_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate_patch.dart
===================================================================
--- runtime/lib/isolate_patch.dart (revision 43127)
+++ runtime/lib/isolate_patch.dart (working copy)
@@ -141,11 +141,8 @@
// so that we can run the immediate callbacks.
handler(message);
_runPendingImmediateCallback();
-
// Event was handled. Now run expired timers.
- if (runTimerClosure != null) {
- runTimerClosure(_runPendingImmediateCallback);
- }
+ _Timer._handleTimeout();
}
// Call into the VM to close the VM maintained mappings.
« no previous file with comments | « runtime/lib/internal_patch.dart ('k') | runtime/lib/isolate_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698