diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /security/sandbox/win/src | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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()); |