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

Unified Diff: components/network_time/network_time_tracker.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years 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/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 =
« no previous file with comments | « components/net_log/net_log_temp_file.cc ('k') | components/offline_pages/offline_page_metadata_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698