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

Unified Diff: components/autofill/core/browser/autofill_merge_unittest.cc

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 4 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: components/autofill/core/browser/autofill_merge_unittest.cc
diff --git a/components/autofill/core/browser/autofill_merge_unittest.cc b/components/autofill/core/browser/autofill_merge_unittest.cc
index 61c58a8514bb3628cb7cdd91df7229da1f62cabc..571fed9e1c64a9dce6840fe6919f32693e869dfd 100644
--- a/components/autofill/core/browser/autofill_merge_unittest.cc
+++ b/components/autofill/core/browser/autofill_merge_unittest.cc
@@ -5,6 +5,7 @@
#include <stddef.h>
#include <map>
+#include <memory>
#include <vector>
#include "base/files/file_path.h"
@@ -229,7 +230,7 @@ void AutofillMergeTest::MergeProfiles(const std::string& profiles,
form_structure.IdentifySections(false);
// Import the profile.
- scoped_ptr<CreditCard> imported_credit_card;
+ std::unique_ptr<CreditCard> imported_credit_card;
personal_data_.ImportFormData(form_structure, false,
&imported_credit_card);
EXPECT_FALSE(imported_credit_card);

Powered by Google App Engine
This is Rietveld 408576698