summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 20:08:01 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 20:08:01 +0000
commit36ea6c6f047abed672aa9af4f3071a7364142d64 (patch)
treeaa2838666b81fdaaeecdc6db99384cbd3cd9ec29 /chrome/app/chrome_dll_main.cc
parent9b0f5b8ecb325a0ae07ede9f2e0c93a29820b7e9 (diff)
downloadchromium_src-36ea6c6f047abed672aa9af4f3071a7364142d64.zip
chromium_src-36ea6c6f047abed672aa9af4f3071a7364142d64.tar.gz
chromium_src-36ea6c6f047abed672aa9af4f3071a7364142d64.tar.bz2
Linux: fix SELinux support.
(First of a series to improve our SELinux support) http://codereview.chromium.org/1000008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index db9f045..b865817 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -275,9 +275,10 @@ static void AdjustLinuxOOMScore(const std::string& process_type) {
// Pass - browser / zygote process stays at 0.
} else if (process_type == switches::kExtensionProcess ||
process_type == switches::kRendererProcess) {
- // Set in chrome/browser/zygote_host_linux.cc.
- NOTREACHED() << "process type '" << process_type << "' "
+ LOG(WARNING) << "process type '" << process_type << "' "
<< "should go through the zygote.";
+ // When debugging, these process types can end up being run directly.
+ return;
} else {
NOTREACHED() << "Unknown process type";
}