| Index: runtime/bin/eventhandler_patch.dart
|
| diff --git a/runtime/bin/eventhandler_patch.dart b/runtime/bin/eventhandler_patch.dart
|
| index 46c1e3dac4f3de3e80aad8b710654a9a8d4bc25d..2038a57ac3a2a19b78348cfe92243b2364a13599 100644
|
| --- a/runtime/bin/eventhandler_patch.dart
|
| +++ b/runtime/bin/eventhandler_patch.dart
|
| @@ -5,28 +5,9 @@
|
| import 'dart:nativewrappers';
|
|
|
| patch class _EventHandler {
|
| - /* patch */ static void _start() {
|
| - if (_eventHandler == null) {
|
| - _eventHandler = new _EventHandlerImpl();
|
| - _eventHandler._start();
|
| - }
|
| - }
|
| -
|
| - /* patch */ static _sendData(Object sender,
|
| - ReceivePort receivePort,
|
| - int data) {
|
| - if (_eventHandler != null) {
|
| - _eventHandler._sendData(sender, receivePort, data);
|
| - }
|
| - }
|
| -
|
| - static _EventHandlerImpl _eventHandler;
|
| -}
|
| -
|
| -
|
| -class _EventHandlerImpl {
|
| - _EventHandlerImpl() { }
|
| - void _start() native "EventHandler_Start";
|
| - void _sendData(Object sender, ReceivePort receivePort, int data)
|
| + /* patch */ static void _sendData(Object sender,
|
| + ReceivePort receivePort,
|
| + int data)
|
| native "EventHandler_SendData";
|
| }
|
| +
|
|
|