Index: chrome/browser/extensions/navigation_observer.cc |
diff --git a/chrome/browser/extensions/navigation_observer.cc b/chrome/browser/extensions/navigation_observer.cc |
index f865ece62d5805eb98a9f77b8afbb5b561af415d..84856799e9b654ec426ff77ba4b0d6e70ce29c6f 100644 |
--- a/chrome/browser/extensions/navigation_observer.cc |
+++ b/chrome/browser/extensions/navigation_observer.cc |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/extensions/navigation_observer.h" |
+#include "base/memory/ptr_util.h" |
#include "chrome/browser/extensions/extension_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "content/public/browser/navigation_controller.h" |
@@ -86,7 +87,7 @@ void NavigationObserver::PromptToEnableExtensionIfNecessary( |
base::Bind(&NavigationObserver::OnInstallPromptDone, |
weak_factory_.GetWeakPtr()), |
extension, nullptr, |
- make_scoped_ptr(new ExtensionInstallPrompt::Prompt(type)), |
+ base::WrapUnique(new ExtensionInstallPrompt::Prompt(type)), |
ExtensionInstallPrompt::GetDefaultShowDialogCallback()); |
} |
} |