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

Unified Diff: trunk/src/chrome/nacl/nacl_listener.cc

Issue 14320030: Revert 195190 "Set up NaClChromeMainArgs number_of_cores member ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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 | « trunk/src/chrome/nacl/nacl_listener.h ('k') | trunk/src/chrome/nacl/nacl_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/nacl/nacl_listener.cc
===================================================================
--- trunk/src/chrome/nacl/nacl_listener.cc (revision 195212)
+++ trunk/src/chrome/nacl/nacl_listener.cc (working copy)
@@ -7,10 +7,6 @@
#include <errno.h>
#include <stdlib.h>
-#if defined(OS_POSIX)
-#include <unistd.h>
-#endif
-
#include "base/command_line.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
@@ -145,9 +141,6 @@
#if defined(OS_LINUX)
prereserved_sandbox_size_(0),
#endif
-#if defined(OS_POSIX)
- number_of_cores_(-1), // unknown/error
-#endif
main_loop_(NULL) {
io_thread_.StartWithOptions(base::Thread::Options(MessageLoop::TYPE_IO, 0));
#if defined(OS_WIN)
@@ -233,7 +226,6 @@
LOG(ERROR) << "Failed to dup() the urandom FD";
return;
}
- args->number_of_cores = number_of_cores_;
args->create_memory_object_func = CreateMemoryObject;
# if defined(OS_MACOSX)
CHECK(handles.size() >= 1);
« no previous file with comments | « trunk/src/chrome/nacl/nacl_listener.h ('k') | trunk/src/chrome/nacl/nacl_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698