cefclient: Enable Chrome runtime by default (see #3685)

Run with `--disable-chrome-runtime` to use the Alloy runtime.
This commit is contained in:
Marshall Greenblatt
2024-05-09 10:20:05 -04:00
parent 8283317cb1
commit e7626b2df6
4 changed files with 4 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ MainContextImpl::MainContextImpl(CefRefPtr<CefCommandLine> command_line,
#if !defined(DISABLE_ALLOY_BOOTSTRAP)
// Enable Chrome runtime bootstrap. See issue #2969 for details.
use_chrome_bootstrap_ =
command_line_->HasSwitch(switches::kEnableChromeRuntime);
!command_line_->HasSwitch(switches::kDisableChromeRuntime);
#endif
// Whether the Views framework will be used.