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

Unified Diff: chrome/browser/sessions/session_restore_stats_collector.h

Issue 1551503002: Convert Pass()→std::move() in //chrome (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
Index: chrome/browser/sessions/session_restore_stats_collector.h
diff --git a/chrome/browser/sessions/session_restore_stats_collector.h b/chrome/browser/sessions/session_restore_stats_collector.h
index fe67778f41301f60bfac2ac3ab10a8c9e710eda2..dbcb69f4ef01bbc49ba2b912a9fa58fcd905e828 100644
--- a/chrome/browser/sessions/session_restore_stats_collector.h
+++ b/chrome/browser/sessions/session_restore_stats_collector.h
@@ -6,8 +6,8 @@
#define CHROME_BROWSER_SESSIONS_SESSION_RESTORE_STATS_COLLECTOR_H_
#include <stddef.h>
-
#include <map>
+#include <utility>
#include "base/callback_list.h"
#include "base/macros.h"
@@ -187,7 +187,7 @@ class SessionRestoreStatsCollector
// Testing seam for configuring the tick clock in use.
void set_tick_clock(scoped_ptr<base::TickClock> tick_clock) {
- tick_clock_ = tick_clock.Pass();
+ tick_clock_ = std::move(tick_clock);
}
// Has ReleaseIfDoneTracking determined that there are no non-deferred tabs to

Powered by Google App Engine
This is Rietveld 408576698