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

Unified Diff: components/metrics/profiler/tracking_synchronizer.cc

Issue 1906173002: Convert //components/metrics from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/metrics/profiler/tracking_synchronizer.cc
diff --git a/components/metrics/profiler/tracking_synchronizer.cc b/components/metrics/profiler/tracking_synchronizer.cc
index 67c8361cf72974eda1fe996dea9bb028d8b5eb1a..ba96dfa7f8224076ad1d40c24531ce71ab4674ff 100644
--- a/components/metrics/profiler/tracking_synchronizer.cc
+++ b/components/metrics/profiler/tracking_synchronizer.cc
@@ -180,7 +180,7 @@ base::LazyInstance
// TrackingSynchronizer methods and members.
TrackingSynchronizer::TrackingSynchronizer(
- scoped_ptr<base::TickClock> clock,
+ std::unique_ptr<base::TickClock> clock,
const TrackingSynchronizerDelegateFactory& delegate_factory)
: last_used_sequence_number_(kNeverUsableSequenceNumber),
clock_(std::move(clock)) {
« no previous file with comments | « components/metrics/profiler/tracking_synchronizer.h ('k') | components/metrics/profiler/tracking_synchronizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698