diff options
author | dcheng <dcheng@chromium.org> | 2015-12-18 09:48:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-18 17:48:52 +0000 |
commit | e59eca16010c109a5e3e4922189c8b264d34caa9 (patch) | |
tree | 838815399c6364a99a465938df9978aeaf75c766 /extensions/renderer/api_test_base.cc | |
parent | 5100baf1eac806abbdaaf8002887aacf652f34e5 (diff) | |
download | chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.zip chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.tar.gz chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.tar.bz2 |
Convert Pass()→std::move() in //extensions
BUG=557422
Review URL: https://codereview.chromium.org/1537893002
Cr-Commit-Position: refs/heads/master@{#366120}
Diffstat (limited to 'extensions/renderer/api_test_base.cc')
-rw-r--r-- | extensions/renderer/api_test_base.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/renderer/api_test_base.cc b/extensions/renderer/api_test_base.cc index 75c6d5d..3ce3d5d 100644 --- a/extensions/renderer/api_test_base.cc +++ b/extensions/renderer/api_test_base.cc @@ -4,6 +4,7 @@ #include "extensions/renderer/api_test_base.h" +#include <utility> #include <vector> #include "base/run_loop.h" @@ -89,7 +90,7 @@ mojo::Handle TestServiceProvider::ConnectToService( base::Callback<void(mojo::ScopedMessagePipeHandle)> >::iterator it = service_factories_.find(service_name); if (it != service_factories_.end()) - it->second.Run(pipe.handle0.Pass()); + it->second.Run(std::move(pipe.handle0)); return pipe.handle1.release(); } |