Index: runtime/bin/common_patch.dart |
=================================================================== |
--- runtime/bin/common_patch.dart (revision 43127) |
+++ runtime/bin/common_patch.dart (working copy) |
@@ -7,10 +7,6 @@ |
native "Crypto_GetRandomBytes"; |
} |
- |
-// Provide a closure which will allocate a Timer object to be able to hook |
-// up the Timer interface in dart:isolate with the implementation here. |
-_getTimerFactoryClosure() { |
- runTimerClosure = _Timer._handleTimeout; |
- return _Timer._factory; |
-} |
+_setupHooks() { |
+ VMLibraryHooks.eventHandlerSendData = _EventHandler._sendData; |
+} |