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

Unified Diff: ios/chrome/browser/passwords/password_controller_off_the_record_unittest.mm

Issue 2256193002: 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
Index: ios/chrome/browser/passwords/password_controller_off_the_record_unittest.mm
diff --git a/ios/chrome/browser/passwords/password_controller_off_the_record_unittest.mm b/ios/chrome/browser/passwords/password_controller_off_the_record_unittest.mm
index 2ce74f84e12409927840499f6184e3fade83cd46..ea5a861a7ba9154a520b3dbacbe5eceb3fc87467 100644
--- a/ios/chrome/browser/passwords/password_controller_off_the_record_unittest.mm
+++ b/ios/chrome/browser/passwords/password_controller_off_the_record_unittest.mm
@@ -45,8 +45,8 @@ class PasswordControllerOffTheRecordTest : public web::WebTestWithWebState {
password_controller_.reset([[PasswordController alloc]
initWithWebState:&off_the_record_web_state_
passwordsUiDelegate:nil
- client:base::WrapUnique(
- new IncognitoPasswordManagerClient())]);
+ client:base::MakeUnique<
+ IncognitoPasswordManagerClient>()]);
}
void TearDown() override {
« no previous file with comments | « ios/chrome/browser/passwords/password_controller.mm ('k') | ios/chrome/browser/passwords/password_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698