Chromium Code Reviews| Index: runtime/bin/socket_impl.dart |
| diff --git a/runtime/bin/socket_impl.dart b/runtime/bin/socket_impl.dart |
| index c698f98678c1400d68fad67bc88249d32282fc6b..6b5293601a2e964728fcfe31f2d85f7fe6207a87 100644 |
| --- a/runtime/bin/socket_impl.dart |
| +++ b/runtime/bin/socket_impl.dart |
| @@ -42,10 +42,8 @@ class _SocketBase { |
| } |
| // Multiplexes socket events to the socket handlers. |
| - void _multiplex(List<int> message) { |
| - assert(message.length == 1); |
| + void _multiplex(int event_mask) { |
|
siva
2012/02/04 02:51:17
Are you stating that we will only have to handle o
Søren Gjesse
2012/02/06 15:35:49
Not necessarily. Previously we received an array b
|
| _canActivateHandlers = false; |
| - int event_mask = message[0]; |
| for (int i = _FIRST_EVENT; i <= _LAST_EVENT; i++) { |
| if (((event_mask & (1 << i)) != 0)) { |
| if ((i == _CLOSE_EVENT) && this is _Socket && _id >= 0) { |