Index: components/network_time/network_time_tracker.cc |
diff --git a/components/network_time/network_time_tracker.cc b/components/network_time/network_time_tracker.cc |
index 71e6662d7de946006b6642eb1be5b2c7c63cc423..b5d8ccb853831daf89f93e1282e7386cd454ed17 100644 |
--- a/components/network_time/network_time_tracker.cc |
+++ b/components/network_time/network_time_tracker.cc |
@@ -11,6 +11,7 @@ |
#include "base/i18n/time_formatting.h" |
#include "base/json/json_reader.h" |
#include "base/logging.h" |
+#include "base/memory/ptr_util.h" |
#include "base/metrics/histogram_macros.h" |
#include "base/metrics/sparse_histogram.h" |
#include "base/rand_util.h" |
@@ -189,7 +190,7 @@ void RecordFetchValidHistogram(bool valid) { |
// static |
void NetworkTimeTracker::RegisterPrefs(PrefRegistrySimple* registry) { |
registry->RegisterDictionaryPref(prefs::kNetworkTimeMapping, |
- new base::DictionaryValue()); |
+ base::MakeUnique<base::DictionaryValue>()); |
} |
NetworkTimeTracker::NetworkTimeTracker( |