Index: runtime/vm/dart.cc |
=================================================================== |
--- runtime/vm/dart.cc (revision 29938) |
+++ runtime/vm/dart.cc (working copy) |
@@ -81,12 +81,14 @@ |
Dart_FileOpenCallback file_open, |
Dart_FileReadCallback file_read, |
Dart_FileWriteCallback file_write, |
- Dart_FileCloseCallback file_close) { |
+ Dart_FileCloseCallback file_close, |
+ Dart_EntropySource entropy_source) { |
// TODO(iposva): Fix race condition here. |
if (vm_isolate_ != NULL || !Flags::Initialized()) { |
return "VM already initialized."; |
} |
Isolate::SetFileCallbacks(file_open, file_read, file_write, file_close); |
+ Isolate::SetEntropySourceCallback(entropy_source); |
OS::InitOnce(); |
VirtualMemory::InitOnce(); |
Isolate::InitOnce(); |