summaryrefslogtreecommitdiffstats
path: root/tools/cygprofile
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-12-30 15:29:31 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-30 23:30:24 +0000
commit7680f3744f4dca188574d8182deee383d8d535cc (patch)
tree2bcfbb1b17a84f57c8ae8def735dc71281e7f91e /tools/cygprofile
parentb04b149490d47137bf9831a55ff8b7a15adb2cf7 (diff)
downloadchromium_src-7680f3744f4dca188574d8182deee383d8d535cc.zip
chromium_src-7680f3744f4dca188574d8182deee383d8d535cc.tar.gz
chromium_src-7680f3744f4dca188574d8182deee383d8d535cc.tar.bz2
Convert Pass()→std::move() in //tools/cygprofile
(╯^□^)╯︵ ❄☃❄ BUG=557422 R=avi@chromium.org TBR=pasko@chromium.org Review URL: https://codereview.chromium.org/1554733003 Cr-Commit-Position: refs/heads/master@{#367202}
Diffstat (limited to 'tools/cygprofile')
-rw-r--r--tools/cygprofile/cygprofile_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cygprofile/cygprofile_unittest.cc b/tools/cygprofile/cygprofile_unittest.cc
index ee7a2f5..5219500 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.