alloy: Move warning after logging init (fixes #3713)
This commit is contained in:
parent
7c19cb90e1
commit
cc40cbdd45
|
@ -269,12 +269,6 @@ bool CefMainRunner::Initialize(CefSettings* settings,
|
|||
void* windows_sandbox_info,
|
||||
bool* initialized,
|
||||
base::OnceClosure context_initialized) {
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
LOG_IF(WARNING, !settings->chrome_runtime)
|
||||
<< "Alloy bootstrap is deprecated and will be removed in ~M127. See "
|
||||
"https://github.com/chromiumembedded/cef/issues/3685";
|
||||
#endif
|
||||
|
||||
DCHECK(!main_delegate_);
|
||||
main_delegate_ = MakeDelegate(
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
|
|
|
@ -555,6 +555,12 @@ std::optional<int> AlloyMainDelegate::BasicStartupComplete() {
|
|||
|
||||
logging::InitLogging(log_settings);
|
||||
|
||||
if (is_browser) {
|
||||
LOG(WARNING)
|
||||
<< "Alloy bootstrap is deprecated and will be removed in ~M127. See "
|
||||
"https://github.com/chromiumembedded/cef/issues/3685";
|
||||
}
|
||||
|
||||
ContentSettingsPattern::SetNonWildcardDomainNonPortSchemes(
|
||||
kNonWildcardDomainNonPortSchemes, kNonWildcardDomainNonPortSchemesSize);
|
||||
|
||||
|
|
Loading…
Reference in New Issue