Index: src/base/utils/random-number-generator.cc |
diff --git a/src/utils/random-number-generator.cc b/src/base/utils/random-number-generator.cc |
similarity index 95% |
rename from src/utils/random-number-generator.cc |
rename to src/base/utils/random-number-generator.cc |
index 3da6a5aa4ac3e99d786a44a0a3a93580eaa61bbf..4db190de49470cfd5d14b28d60ab3e4bc745c78a 100644 |
--- a/src/utils/random-number-generator.cc |
+++ b/src/base/utils/random-number-generator.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "src/utils/random-number-generator.h" |
+#include "src/base/utils/random-number-generator.h" |
#include <stdio.h> |
#include <stdlib.h> |
@@ -10,11 +10,11 @@ |
#include <new> |
#include "src/base/macros.h" |
-#include "src/platform/mutex.h" |
-#include "src/platform/time.h" |
+#include "src/base/platform/mutex.h" |
+#include "src/base/platform/time.h" |
namespace v8 { |
-namespace internal { |
+namespace base { |
static LazyMutex entropy_mutex = LAZY_MUTEX_INITIALIZER; |
static RandomNumberGenerator::EntropySource entropy_source = NULL; |
@@ -128,4 +128,4 @@ void RandomNumberGenerator::SetSeed(int64_t seed) { |
seed_ = (seed ^ kMultiplier) & kMask; |
} |
-} } // namespace v8::internal |
+} } // namespace v8::base |