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

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

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_unittest.cc
diff --git a/components/metrics/profiler/tracking_synchronizer_unittest.cc b/components/metrics/profiler/tracking_synchronizer_unittest.cc
index 016315caf46c2e53bfe5f628e074021e79c0410d..cae6cb208fe742e6687450244537f4add084b596 100644
--- a/components/metrics/profiler/tracking_synchronizer_unittest.cc
+++ b/components/metrics/profiler/tracking_synchronizer_unittest.cc
@@ -120,8 +120,8 @@ class TestTrackingSynchronizer : public TrackingSynchronizer {
TEST(TrackingSynchronizerTest, ProfilerData) {
// Testing how TrackingSynchronizer reports 2 phases of profiling.
- auto clock = new base::SimpleTestTickClock(); // Will be owned by
- // |tracking_synchronizer|.
+ auto* clock = new base::SimpleTestTickClock(); // Will be owned by
+ // |tracking_synchronizer|.
clock->Advance(base::TimeDelta::FromMilliseconds(111));
scoped_refptr<TestTrackingSynchronizer> tracking_synchronizer =

Powered by Google App Engine
This is Rietveld 408576698