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

Unified Diff: chrome/renderer/render_process_impl.cc

Issue 3057025: Altered the logic that determines when NaCl is enabled. Previously, we requi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | « chrome/common/extensions/extension.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_process_impl.cc
===================================================================
--- chrome/renderer/render_process_impl.cc (revision 54347)
+++ chrome/renderer/render_process_impl.cc (working copy)
@@ -184,14 +184,12 @@
}
#ifndef DISABLE_NACL
- if (command_line.HasSwitch(switches::kInternalNaCl)) {
- std::map<std::string, uintptr_t> funcs;
- funcs["launch_nacl_process"] =
- reinterpret_cast<uintptr_t>(LaunchNaClProcess);
- funcs["launch_nacl_process_multi_fd"] =
- reinterpret_cast<uintptr_t>(LaunchNaClProcessMultiFD);
- RegisterInternalNaClPlugin(funcs);
- }
+ std::map<std::string, uintptr_t> funcs;
+ funcs["launch_nacl_process"] =
+ reinterpret_cast<uintptr_t>(LaunchNaClProcess);
+ funcs["launch_nacl_process_multi_fd"] =
+ reinterpret_cast<uintptr_t>(LaunchNaClProcessMultiFD);
+ RegisterInternalNaClPlugin(funcs);
#endif
if (!command_line.HasSwitch(switches::kDisableByteRangeSupport)) {
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698