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

Unified Diff: src/isolate-inl.h

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 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
« src/base/macros.h ('K') | « src/isolate.cc ('k') | src/json-parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate-inl.h
diff --git a/src/isolate-inl.h b/src/isolate-inl.h
index 12a861f2b8961653c63566bef388735739c2db83..b44c4d6d723606764d4a9bdebba38d893598710d 100644
--- a/src/isolate-inl.h
+++ b/src/isolate-inl.h
@@ -5,9 +5,9 @@
#ifndef V8_ISOLATE_INL_H_
#define V8_ISOLATE_INL_H_
+#include "src/base/utils/random-number-generator.h"
#include "src/debug.h"
#include "src/isolate.h"
-#include "src/utils/random-number-generator.h"
namespace v8 {
namespace internal {
@@ -30,12 +30,13 @@ bool Isolate::DebuggerHasBreakPoints() {
}
-RandomNumberGenerator* Isolate::random_number_generator() {
+base::RandomNumberGenerator* Isolate::random_number_generator() {
if (random_number_generator_ == NULL) {
if (FLAG_random_seed != 0) {
- random_number_generator_ = new RandomNumberGenerator(FLAG_random_seed);
+ random_number_generator_ =
+ new base::RandomNumberGenerator(FLAG_random_seed);
} else {
- random_number_generator_ = new RandomNumberGenerator();
+ random_number_generator_ = new base::RandomNumberGenerator();
}
}
return random_number_generator_;
« src/base/macros.h ('K') | « src/isolate.cc ('k') | src/json-parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698