mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Set enable_alloy_bootstrap=false to build with Alloy bootstrap code removed. Extension API is documented as deprecated in comments but not compiled out with this arg.
This commit is contained in:
@@ -254,7 +254,11 @@ std::unique_ptr<permissions::PermissionPrompt> CreatePermissionPromptImpl(
|
||||
bool* default_handling) {
|
||||
CEF_REQUIRE_UIT();
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
bool is_alloy_style = cef::IsAlloyRuntimeEnabled();
|
||||
#else
|
||||
bool is_alloy_style = false;
|
||||
#endif
|
||||
|
||||
if (auto browser = CefBrowserHostBase::GetBrowserForContents(web_contents)) {
|
||||
is_alloy_style = browser->IsAlloyStyle();
|
||||
|
Reference in New Issue
Block a user