Index: sdk/lib/io/http_session.dart |
diff --git a/sdk/lib/io/http_session.dart b/sdk/lib/io/http_session.dart |
index 4cde1be778c842bb38133702306fb94c06f90f80..2b7e16452f3945eb00f40a35eac0082ab8044c74 100644 |
--- a/sdk/lib/io/http_session.dart |
+++ b/sdk/lib/io/http_session.dart |
@@ -72,7 +72,7 @@ class _HttpSessionManager { |
String createSessionId() { |
const int _KEY_LENGTH = 16; // 128 bits. |
- var data = _getRandomBytes(_KEY_LENGTH); |
+ var data = _IOCrypto.getRandomBytes(_KEY_LENGTH); |
return CryptoUtils.bytesToHex(data); |
} |
@@ -172,7 +172,5 @@ class _HttpSessionManager { |
_HttpSession _head; |
_HttpSession _tail; |
Timer _timer; |
- |
- external static Uint8List _getRandomBytes(int count); |
} |