Index: runtime/lib/math.cc |
diff --git a/runtime/lib/math.cc b/runtime/lib/math.cc |
index d38347197723954144fb5b077a4697fa9c81fb53..8e5e750cd1fc6440760fcb697391a55a71366b31 100644 |
--- a/runtime/lib/math.cc |
+++ b/runtime/lib/math.cc |
@@ -205,7 +205,7 @@ DEFINE_NATIVE_ENTRY(SecureRandom_getBytes, 1) { |
const intptr_t n = count.Value(); |
ASSERT((n > 0) && (n <= 8)); |
uint8_t buffer[8]; |
- Dart_EntropySource entropy_source = isolate->entropy_source_callback(); |
+ Dart_EntropySource entropy_source = Dart::entropy_source_callback(); |
if ((entropy_source == NULL) || !entropy_source(buffer, n)) { |
const String& error = String::Handle(String::New( |
"No source of cryptographically secure random numbers available.")); |