summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-09 20:06:26 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-09 20:06:26 +0000
commitd078691069484236801e23f87b43d0e7f4cb3e49 (patch)
treeaf2dae2756e66b44d2997aad5d10edae6132560e /apps
parent857ed2300f62332c13a248e768de4883d07172a7 (diff)
downloadchromium_src-d078691069484236801e23f87b43d0e7f4cb3e49.zip
chromium_src-d078691069484236801e23f87b43d0e7f4cb3e49.tar.gz
chromium_src-d078691069484236801e23f87b43d0e7f4cb3e49.tar.bz2
[Linux] Use PR_SET_NO_NEW_PRIVS by default in base/process/launch.h.
BUG=358713 R=jln@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/197213015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262786 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps')
-rw-r--r--apps/load_and_launch_browsertest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/load_and_launch_browsertest.cc b/apps/load_and_launch_browsertest.cc
index fecfe84..0471415 100644
--- a/apps/load_and_launch_browsertest.cc
+++ b/apps/load_and_launch_browsertest.cc
@@ -51,7 +51,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
new_cmdline.AppendSwitch(content::kLaunchAsBrowser);
base::ProcessHandle process;
- base::LaunchProcess(new_cmdline, base::LaunchOptions(), &process);
+ base::LaunchProcess(new_cmdline, base::LaunchOptionsForTest(), &process);
ASSERT_NE(base::kNullProcessHandle, process);
ASSERT_TRUE(launched_listener.WaitUntilSatisfied());
@@ -94,7 +94,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
new_cmdline.AppendArgPath(test_file_path);
base::ProcessHandle process;
- base::LaunchProcess(new_cmdline, base::LaunchOptions(), &process);
+ base::LaunchProcess(new_cmdline, base::LaunchOptionsForTest(), &process);
ASSERT_NE(base::kNullProcessHandle, process);
ASSERT_TRUE(launched_listener.WaitUntilSatisfied());