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

Unified Diff: ios/clean/chrome/app/steps/launch_to_background.mm

Issue 2853443002: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: Created 3 years, 8 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: ios/clean/chrome/app/steps/launch_to_background.mm
diff --git a/ios/clean/chrome/app/steps/launch_to_background.mm b/ios/clean/chrome/app/steps/launch_to_background.mm
index 8103ed212b0fb77fa58962f6f218cf5317a492bc..9858c1da2817c09d3adfcb1424b555e2426efdf3 100644
--- a/ios/clean/chrome/app/steps/launch_to_background.mm
+++ b/ios/clean/chrome/app/steps/launch_to_background.mm
@@ -78,7 +78,7 @@ const char kChromeMainKey[] = "chrome_main";
// Create and persist an IOSChromeMain instance.
state.persistentState->SetUserData(
kChromeMainKey,
- new ChromeMainContainer(base::MakeUnique<IOSChromeMain>()));
+ base::MakeUnique<ChromeMainContainer>(base::MakeUnique<IOSChromeMain>()));
// Add a step to the termination steps of |state| that will stop and remove
// the IOSChromeMain instance.

Powered by Google App Engine
This is Rietveld 408576698