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

Unified Diff: tools/lexer-shell.cc

Issue 367293002: Buildfix for windows after r22180 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« no previous file with comments | « test/cctest/cctest.cc ('k') | tools/parser-shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer-shell.cc
diff --git a/tools/lexer-shell.cc b/tools/lexer-shell.cc
index ae3dbd2745d5a6bf7f0090eb4327fad4bd2d6f29..e3424ecc18a0c72c8120ef261b947c520a3557c2 100644
--- a/tools/lexer-shell.cc
+++ b/tools/lexer-shell.cc
@@ -181,8 +181,7 @@ v8::base::TimeDelta ProcessFile(
int main(int argc, char* argv[]) {
v8::V8::InitializeICU();
- v8::Platform* platform = v8::platform::CreateDefaultPlatform(
- v8::base::OS::NumberOfProcessorsOnline());
+ v8::Platform* platform = v8::platform::CreateDefaultPlatform();
v8::V8::InitializePlatform(platform);
v8::V8::SetFlagsFromCommandLine(&argc, argv, true);
Encoding encoding = LATIN1;
« no previous file with comments | « test/cctest/cctest.cc ('k') | tools/parser-shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698