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

Unified Diff: runtime/bin/timer_impl.dart

Issue 10962012: Use native wrapper fields to store socket ids. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
« runtime/bin/socket_impl.dart ('K') | « runtime/bin/stdio.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/timer_impl.dart
diff --git a/runtime/bin/timer_impl.dart b/runtime/bin/timer_impl.dart
index c05cfd2f02da4cc191b1e61e1e70f1df19173ab3..d82c69c23e69c7a40e7cd5602f973f68800f3cda 100644
--- a/runtime/bin/timer_impl.dart
+++ b/runtime/bin/timer_impl.dart
@@ -99,7 +99,7 @@ class _Timer implements Timer {
// No pending timers: Close the receive port and let the event handler
// know.
if (_receivePort !== null) {
- _EventHandler._sendData(-1, _receivePort, _NO_TIMER);
+ _EventHandler._sendData(null, _receivePort, _NO_TIMER);
_shutdownTimerHandler();
}
} else {
@@ -108,7 +108,7 @@ class _Timer implements Timer {
// events.
_createTimerHandler();
}
- _EventHandler._sendData(-1,
+ _EventHandler._sendData(null,
_receivePort,
_timers.firstEntry().element._wakeupTime);
}
« runtime/bin/socket_impl.dart ('K') | « runtime/bin/stdio.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698