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

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 216603002: Tell nacl_helper to use non SFI mode in HandleForkRequest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index c5f62a876ad2706d69c0a72a1d246bc20eb78d6b..1aad6253796fadd331a897e1e8d02719324ca7e7 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -199,7 +199,8 @@ static void AdjustLinuxOOMScore(const std::string& process_type) {
process_type == switches::kServiceProcess) {
score = kMiscScore;
#ifndef DISABLE_NACL
- } else if (process_type == switches::kNaClLoaderProcess) {
+ } else if (process_type == switches::kNaClLoaderProcess ||
+ process_type == switches::kNaClLoaderNonSfiProcess) {
score = kPluginScore;
#endif
} else if (process_type == switches::kZygoteProcess ||
« no previous file with comments | « no previous file | components/nacl/browser/nacl_process_host.cc » ('j') | components/nacl/browser/nacl_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698