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

Unified Diff: ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc

Issue 1547223002: Convert Pass()→std::move() in //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ash/rotator/screen_rotation_animator.cc ('k') | ash/shelf/shelf_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc
diff --git a/ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc b/ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc
index ba2f3b13a7621c2ae60add769438f51986a8180e..010161805ad0ad2c5a6e68108e3b836e5ae6d353 100644
--- a/ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc
+++ b/ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc
@@ -4,6 +4,8 @@
#include "ash/shelf/shelf_button_pressed_metric_tracker.h"
+#include <utility>
+
#include "ash/shelf/shelf.h"
#include "ash/test/ash_test_base.h"
#include "ash/test/shelf_button_pressed_metric_tracker_test_api.h"
@@ -118,7 +120,7 @@ void ShelfButtonPressedMetricTrackerTest::SetUp() {
scoped_ptr<base::TickClock> test_tick_clock(new base::SimpleTestTickClock());
tick_clock_ = static_cast<base::SimpleTestTickClock*>(test_tick_clock.get());
- test_api.SetTickClock(test_tick_clock.Pass());
+ test_api.SetTickClock(std::move(test_tick_clock));
// Ensure the TickClock->NowTicks() doesn't return base::TimeTicks because
// ShelfButtonPressedMetricTracker interprets that value as unset.
« no previous file with comments | « ash/rotator/screen_rotation_animator.cc ('k') | ash/shelf/shelf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698