mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
alloy: Move warning after logging init (fixes #3713)
This commit is contained in:
@@ -269,12 +269,6 @@ bool CefMainRunner::Initialize(CefSettings* settings,
|
|||||||
void* windows_sandbox_info,
|
void* windows_sandbox_info,
|
||||||
bool* initialized,
|
bool* initialized,
|
||||||
base::OnceClosure context_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_);
|
DCHECK(!main_delegate_);
|
||||||
main_delegate_ = MakeDelegate(
|
main_delegate_ = MakeDelegate(
|
||||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||||
|
@@ -555,6 +555,12 @@ std::optional<int> AlloyMainDelegate::BasicStartupComplete() {
|
|||||||
|
|
||||||
logging::InitLogging(log_settings);
|
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(
|
ContentSettingsPattern::SetNonWildcardDomainNonPortSchemes(
|
||||||
kNonWildcardDomainNonPortSchemes, kNonWildcardDomainNonPortSchemesSize);
|
kNonWildcardDomainNonPortSchemes, kNonWildcardDomainNonPortSchemesSize);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user