diff options
Diffstat (limited to 'security/sandbox/win/src')
-rw-r--r-- | security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp b/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp index 3e2ce617bd..7988842611 100644 --- a/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp +++ b/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp @@ -866,10 +866,7 @@ void SandboxBroker::SetSecurityLevelForContentProcess(int32_t aSandboxLevel, } if (aSandboxLevel > 4) { - // Alternate winstation breaks native theming. - bool useAlternateWinstation = - StaticPrefs::widget_non_native_theme_enabled(); - result = mPolicy->SetAlternateDesktop(useAlternateWinstation); + result = mPolicy->SetAlternateDesktop(true); if (NS_WARN_IF(result != sandbox::SBOX_ALL_OK)) { LOG_W("SetAlternateDesktop failed, result: %i, last error: %lx", result, ::GetLastError()); |