Index: content/common/sandbox_win.cc |
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc |
index 401d68fa56adab4a3f5dade78cea8885de9689db..45e2261309d1a9c471b99dc7a9dcfefd3b7583b2 100644 |
--- a/content/common/sandbox_win.cc |
+++ b/content/common/sandbox_win.cc |
@@ -358,10 +358,7 @@ bool AddPolicyForSandboxedProcess(sandbox::TargetPolicy* policy) { |
// Prevents the renderers from manipulating low-integrity processes. |
policy->SetDelayedIntegrityLevel(sandbox::INTEGRITY_LEVEL_UNTRUSTED); |
- bool use_winsta = !CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisableAltWinstation); |
- |
- if (sandbox::SBOX_ALL_OK != policy->SetAlternateDesktop(use_winsta)) { |
+ if (sandbox::SBOX_ALL_OK != policy->SetAlternateDesktop(true)) { |
DLOG(WARNING) << "Failed to apply desktop security to the renderer"; |
} |