diff --git a/libcef/common/chrome/chrome_main_delegate_cef.cc b/libcef/common/chrome/chrome_main_delegate_cef.cc index 9189d1341..5212cc35c 100644 --- a/libcef/common/chrome/chrome_main_delegate_cef.cc +++ b/libcef/common/chrome/chrome_main_delegate_cef.cc @@ -35,8 +35,6 @@ #include "cef/libcef/common/util_mac.h" #elif BUILDFLAG(IS_POSIX) #include "cef/libcef/common/util_linux.h" -#elif BUILDFLAG(IS_WIN) -#include "sandbox/policy/features.h" #endif namespace { @@ -324,15 +322,6 @@ std::optional ChromeMainDelegateCef::BasicStartupComplete() { disable_features.push_back(base::kEnableHangWatcher.name); } -#if BUILDFLAG(IS_WIN) && (defined(COMPONENT_BUILD) || !defined(NDEBUG)) - // Disable WinSboxNoFakeGdiInit for component and Debug builds. It causes - // renderer processes to crash with STATUS_DLL_INIT_FAILED. This is - // currently enabled via a field trial for non-Official builds. - // See https://crbug.com/326277735#comment37. - disable_features.push_back( - sandbox::policy::features::kWinSboxNoFakeGdiInit.name); -#endif - if (!disable_features.empty()) { DCHECK(!base::FeatureList::GetInstance()); std::string disable_features_str =