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

Unified Diff: chrome/browser/performance_monitor/performance_monitor.cc

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/performance_monitor/performance_monitor.cc
diff --git a/chrome/browser/performance_monitor/performance_monitor.cc b/chrome/browser/performance_monitor/performance_monitor.cc
index 0aab66aff7567f6b93ca9f64e96e1a908dca4b20..84739978048248b1fec9bee8edef928f41c4363c 100644
--- a/chrome/browser/performance_monitor/performance_monitor.cc
+++ b/chrome/browser/performance_monitor/performance_monitor.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/performance_monitor/performance_monitor.h"
#include <stddef.h>
+#include <utility>
#include "base/memory/singleton.h"
#include "base/process/process_iterator.h"
@@ -169,7 +170,8 @@ void PerformanceMonitor::GatherMetricsMapOnIOThread(
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(&PerformanceMonitor::MarkProcessesAsAliveOnUIThread,
- base::Unretained(this), base::Passed(process_data_list.Pass()),
+ base::Unretained(this),
+ base::Passed(std::move(process_data_list)),
current_update_sequence));
}

Powered by Google App Engine
This is Rietveld 408576698