Index: chrome/browser/extensions/webstore_install_with_prompt.cc |
diff --git a/chrome/browser/extensions/webstore_install_with_prompt.cc b/chrome/browser/extensions/webstore_install_with_prompt.cc |
index 6f2915fac2d153dfdb6387d6cddbdfda660c4850..86fd5631deebb1c2a2756c4dc686a4b2e68e39bf 100644 |
--- a/chrome/browser/extensions/webstore_install_with_prompt.cc |
+++ b/chrome/browser/extensions/webstore_install_with_prompt.cc |
@@ -57,16 +57,15 @@ const GURL& WebstoreInstallWithPrompt::GetRequestorURL() const { |
std::unique_ptr<ExtensionInstallPrompt::Prompt> |
WebstoreInstallWithPrompt::CreateInstallPrompt() const { |
- return base::WrapUnique(new ExtensionInstallPrompt::Prompt( |
- ExtensionInstallPrompt::INSTALL_PROMPT)); |
+ return base::MakeUnique<ExtensionInstallPrompt::Prompt>( |
+ ExtensionInstallPrompt::INSTALL_PROMPT); |
} |
std::unique_ptr<ExtensionInstallPrompt> |
WebstoreInstallWithPrompt::CreateInstallUI() { |
// Create an ExtensionInstallPrompt. If the parent window is NULL, the dialog |
// will be placed in the middle of the screen. |
- return base::WrapUnique( |
- new ExtensionInstallPrompt(profile(), parent_window_)); |
+ return base::MakeUnique<ExtensionInstallPrompt>(profile(), parent_window_); |
} |
bool WebstoreInstallWithPrompt::ShouldShowPostInstallUI() const { |