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

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

Issue 2259813002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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: components/password_manager/core/browser/affiliation_fetch_throttler_unittest.cc
diff --git a/components/password_manager/core/browser/affiliation_fetch_throttler_unittest.cc b/components/password_manager/core/browser/affiliation_fetch_throttler_unittest.cc
index 41e6293b5bb08a175ad13d8494ac0387c0f0c3cd..9d15f5a07b621ff8eceff42625dd78f248f16c2e 100644
--- a/components/password_manager/core/browser/affiliation_fetch_throttler_unittest.cc
+++ b/components/password_manager/core/browser/affiliation_fetch_throttler_unittest.cc
@@ -73,8 +73,8 @@ class AffiliationFetchThrottlerTest : public testing::Test {
~AffiliationFetchThrottlerTest() override {}
std::unique_ptr<AffiliationFetchThrottler> CreateThrottler() {
- return base::WrapUnique(new AffiliationFetchThrottler(
- &mock_delegate_, task_runner_, mock_tick_clock_.get()));
+ return base::MakeUnique<AffiliationFetchThrottler>(
+ &mock_delegate_, task_runner_, mock_tick_clock_.get());
}
void SimulateHasNetworkConnectivity(bool has_connectivity) {

Powered by Google App Engine
This is Rietveld 408576698