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

Unified Diff: components/password_manager/core/browser/mock_affiliated_match_helper.cc

Issue 1852093002: components/password_manager: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and revert an accidental .proto change Created 4 years, 9 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/password_manager/core/browser/mock_affiliated_match_helper.cc
diff --git a/components/password_manager/core/browser/mock_affiliated_match_helper.cc b/components/password_manager/core/browser/mock_affiliated_match_helper.cc
index f3a1efcc9a700e6e8b2f27356ab60abc9245f0d5..466793624b2e217c3b2a90caf6a24a8e669ffbae 100644
--- a/components/password_manager/core/browser/mock_affiliated_match_helper.cc
+++ b/components/password_manager/core/browser/mock_affiliated_match_helper.cc
@@ -4,6 +4,7 @@
#include "components/password_manager/core/browser/mock_affiliated_match_helper.h"
+#include "base/memory/ptr_util.h"
#include "components/autofill/core/common/password_form.h"
#include "components/password_manager/core/browser/affiliation_service.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -13,7 +14,7 @@ namespace password_manager {
MockAffiliatedMatchHelper::MockAffiliatedMatchHelper()
: AffiliatedMatchHelper(nullptr,
- make_scoped_ptr<AffiliationService>(nullptr)) {}
+ base::WrapUnique<AffiliationService>(nullptr)) {}
MockAffiliatedMatchHelper::~MockAffiliatedMatchHelper() {}

Powered by Google App Engine
This is Rietveld 408576698