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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_manager.cc

Issue 2257103002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc b/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
index 59ae97350a0c87cb6ef0715e875c199de3df251b..4f21354762236ceaa33f6781cd5533e060c64277 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
@@ -732,9 +732,9 @@ void KioskAppManager::UpdateAppData() {
std::string version;
GetCachedCrx(it->kiosk_app_id, &cached_crx, &version);
- apps_.push_back(base::WrapUnique(
- new KioskAppData(this, it->kiosk_app_id, account_id,
- GURL(it->kiosk_app_update_url), cached_crx)));
+ apps_.push_back(base::MakeUnique<KioskAppData>(
+ this, it->kiosk_app_id, account_id, GURL(it->kiosk_app_update_url),
+ cached_crx));
apps_.back()->Load();
}
CancelDelayedCryptohomeRemoval(cryptohome::Identification(account_id));
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698