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

Unified Diff: runtime/bin/common_patch.dart

Issue 2434123003: Merge more Kernel infrastructure from kernel_sdk SDK fork. (Closed)
Patch Set: address more comments Created 4 years, 2 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
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;
-}
+}

Powered by Google App Engine
This is Rietveld 408576698