Index: chrome/browser/extensions/external_install_ui.cc |
diff --git a/chrome/browser/extensions/external_install_ui.cc b/chrome/browser/extensions/external_install_ui.cc |
index 013b8c3f490c26f5eb9c6e5084dd01ff28adbdf5..e7d2963a30fd119d0ae10acc50446c450124c316 100644 |
--- a/chrome/browser/extensions/external_install_ui.cc |
+++ b/chrome/browser/extensions/external_install_ui.cc |
@@ -28,6 +28,7 @@ |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/extensions/extension.h" |
#include "chrome/common/extensions/extension_constants.h" |
+#include "chrome/common/extensions/manifest_url_handler.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
@@ -46,7 +47,7 @@ namespace { |
// Whether the external extension can use the streamlined bubble install flow. |
bool UseBubbleInstall(const Extension* extension, bool is_new_profile) { |
- return extension->UpdatesFromGallery() && !is_new_profile; |
+ return ManifestURL::UpdatesFromGallery(extension) && !is_new_profile; |
} |
} // namespace |