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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc

Issue 2358723002: Convert FieldTrialList to Accept a std::unique_ptr (Closed)
Patch Set: Change Comment nullptr to null Created 4 years, 3 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: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
index a35426e079327efd33a40c91dca5a749f2d654b6..2a726d2687c75d95556a93b1e5bc72280967095d 100644
--- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
@@ -389,7 +389,8 @@ TEST_F(LastDownloadFinderTest, NonBinaryOnly) {
// enabled.
TEST_F(LastDownloadFinderTest, SimpleEndToEndFieldTrial) {
// Set up a field trial
- base::FieldTrialList field_trial_list(new base::MockEntropyProvider());
+ base::FieldTrialList field_trial_list(
+ base::MakeUnique<base::MockEntropyProvider>());
base::FieldTrialList::CreateFieldTrial("SafeBrowsingIncidentReportingService",
"Enabled");
// Create a profile with a history service that is opted-in to Safe Browsing

Powered by Google App Engine
This is Rietveld 408576698