diff options
author | dcheng <dcheng@chromium.org> | 2015-12-30 15:29:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-30 23:30:24 +0000 |
commit | 7680f3744f4dca188574d8182deee383d8d535cc (patch) | |
tree | 2bcfbb1b17a84f57c8ae8def735dc71281e7f91e /tools/cygprofile | |
parent | b04b149490d47137bf9831a55ff8b7a15adb2cf7 (diff) | |
download | chromium_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.cc | 4 |
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. |