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

Unified Diff: tools/cygprofile/cygprofile_unittest.cc

Issue 1554733003: Convert Pass()→std::move() in //tools/cygprofile (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cygprofile/cygprofile_unittest.cc
diff --git a/tools/cygprofile/cygprofile_unittest.cc b/tools/cygprofile/cygprofile_unittest.cc
index ee7a2f595a257c446f546f24cd3edbf1d7bde0ed..521950043e9a696fd8ad1950626544b3ee626f12 100644
--- a/tools/cygprofile/cygprofile_unittest.cc
+++ b/tools/cygprofile/cygprofile_unittest.cc
@@ -6,7 +6,7 @@
#include <stdint.h>
#include <sys/time.h>
-
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -78,7 +78,7 @@ TEST(CygprofileTest, ManagerBasic) {
// This should make the manager spawn its internal flush thread which will
// wait for a notification before it starts doing some work.
- manager.AddLog(thread_log.Pass());
+ manager.AddLog(std::move(thread_log));
EXPECT_EQ(0U, entries.size());
// This will wake up the internal thread.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698