Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
index c88e10e6a6df3763e58c6e6ddf81bb569b7e03f0..7ee73f47813b2d5c75e3771cc781631fa07cc120 100644 |
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
@@ -332,11 +332,11 @@ void WebstorePrivateBeginInstallWithManifest3Function::HandleInstallProceed() { |
WebstoreInstaller::Approval::CreateWithNoInstallPrompt( |
chrome_details_.GetProfile(), details().id, |
std::move(parsed_manifest_), false)); |
- approval->use_app_installed_bubble = details().app_install_bubble; |
- approval->enable_launcher = details().enable_launcher; |
+ approval->use_app_installed_bubble = !!details().app_install_bubble; |
+ approval->enable_launcher = !!details().enable_launcher; |
// If we are enabling the launcher, we should not show the app list in order |
// to train the user to open it themselves at least once. |
- approval->skip_post_install_ui = details().enable_launcher; |
+ approval->skip_post_install_ui = !!details().enable_launcher; |
approval->dummy_extension = dummy_extension_.get(); |
approval->installing_icon = gfx::ImageSkia::CreateFrom1xBitmap(icon_); |
if (details().authuser) |