 Chromium Code Reviews
 Chromium Code Reviews Issue 23548024:
  Introduce a RandonNumberGenerator class. Refactor the random/private_random uses in Isolate/Context.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 23548024:
  Introduce a RandonNumberGenerator class. Refactor the random/private_random uses in Isolate/Context.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| Index: src/api.cc | 
| diff --git a/src/api.cc b/src/api.cc | 
| index 1bc80d27d1d7761ad7b010a5749ffa804592b519..3f77f78fedda2f13806a612e6c9043a984a78700 100644 | 
| --- a/src/api.cc | 
| +++ b/src/api.cc | 
| @@ -64,6 +64,7 @@ | 
| #include "unicode-inl.h" | 
| #include "v8threads.h" | 
| #include "version.h" | 
| +#include "utils/random-number-generator.h" | 
| 
Michael Starzinger
2013/09/10 08:43:31
nit: Can we alpha-sort the includes?
 
Benedikt Meurer
2013/09/10 10:52:13
Done.
 | 
| #include "vm-state-inl.h" | 
| @@ -5208,8 +5209,8 @@ bool v8::V8::Initialize() { | 
| } | 
| -void v8::V8::SetEntropySource(EntropySource source) { | 
| - i::V8::SetEntropySource(source); | 
| +void v8::V8::SetEntropySource(EntropySource entropy_source) { | 
| + i::RandomNumberGenerator::SetEntropySource(entropy_source); | 
| } |