Index: runtime/bin/common_patch.dart |
diff --git a/runtime/bin/common_patch.dart b/runtime/bin/common_patch.dart |
index b485dc9a06b625b6f48a5f12e538ccbe98346dee..3e9be62fa2bf1a95ea08c0b915f7733f90510e43 100644 |
--- a/runtime/bin/common_patch.dart |
+++ b/runtime/bin/common_patch.dart |
@@ -2,6 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+import 'dart:nativewrappers'; |
+ |
@patch class _IOCrypto { |
@patch static Uint8List getRandomBytes(int count) |
native "Crypto_GetRandomBytes"; |
@@ -10,4 +12,4 @@ |
_setupHooks() { |
VMLibraryHooks.eventHandlerSendData = _EventHandler._sendData; |
VMLibraryHooks.timerMillisecondClock = _EventHandler._timerMillisecondClock; |
-} |
+} |