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

Unified Diff: src/v8.cc

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/v8.h ('k') | src/v8checks.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index f8362703b67a4529bc0fe86b819031f3087a8cd4..394629cdda9804005099853ed18aa3ce21f69fa4 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -6,6 +6,7 @@
#include "src/assembler.h"
#include "src/base/once.h"
+#include "src/base/platform/platform.h"
#include "src/bootstrapper.h"
#include "src/debug.h"
#include "src/deoptimizer.h"
@@ -19,7 +20,6 @@
#endif
#include "src/lithium-allocator.h"
#include "src/objects.h"
-#include "src/platform.h"
#include "src/runtime-profiler.h"
#include "src/sampler.h"
#include "src/serialize.h"
@@ -90,7 +90,7 @@ void V8::InitializeOncePerProcessImpl() {
FLAG_max_semi_space_size = 1;
}
- OS::Initialize(FLAG_random_seed, FLAG_hard_abort, FLAG_gc_fake_mmap);
+ base::OS::Initialize(FLAG_random_seed, FLAG_hard_abort, FLAG_gc_fake_mmap);
#ifdef V8_USE_DEFAULT_PLATFORM
platform_ = new DefaultPlatform;
« src/base/macros.h ('K') | « src/v8.h ('k') | src/v8checks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698