Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: chrome/browser/extensions/webstore_standalone_installer.cc

Issue 2257113002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/webstore_standalone_installer.cc
diff --git a/chrome/browser/extensions/webstore_standalone_installer.cc b/chrome/browser/extensions/webstore_standalone_installer.cc
index 6a3f75390356ea35afc0d4518da1dd578284903e..3809bdc358d75e99e8c54ecc239ab0d714c1995c 100644
--- a/chrome/browser/extensions/webstore_standalone_installer.cc
+++ b/chrome/browser/extensions/webstore_standalone_installer.cc
@@ -165,7 +165,7 @@ void WebstoreStandaloneInstaller::OnManifestParsed() {
std::unique_ptr<ExtensionInstallPrompt>
WebstoreStandaloneInstaller::CreateInstallUI() {
- return base::WrapUnique(new ExtensionInstallPrompt(GetWebContents()));
+ return base::MakeUnique<ExtensionInstallPrompt>(GetWebContents());
}
std::unique_ptr<WebstoreInstaller::Approval>
« no previous file with comments | « chrome/browser/extensions/webstore_install_with_prompt.cc ('k') | chrome/browser/extensions/webstore_startup_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698