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 17efaff26129b219ab7d2b9525c427346ed8fcab..470a8e823836fe7cb792746ca8212bd92c340baf 100644 |
--- a/components/network_time/network_time_tracker.cc |
+++ b/components/network_time/network_time_tracker.cc |
@@ -5,6 +5,7 @@ |
#include "components/network_time/network_time_tracker.h" |
#include <stdint.h> |
+#include <utility> |
#include "base/i18n/time_formatting.h" |
#include "base/logging.h" |
@@ -39,7 +40,7 @@ void NetworkTimeTracker::RegisterPrefs(PrefRegistrySimple* registry) { |
NetworkTimeTracker::NetworkTimeTracker(scoped_ptr<base::TickClock> tick_clock, |
PrefService* pref_service) |
- : tick_clock_(tick_clock.Pass()), |
+ : tick_clock_(std::move(tick_clock)), |
pref_service_(pref_service), |
received_network_time_(false) { |
const base::DictionaryValue* time_mapping = |