diff options
author | dcheng <dcheng@chromium.org> | 2015-12-27 18:24:50 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-28 02:26:02 +0000 |
commit | e486004502c17ab80953ef324926a536b8030d1e (patch) | |
tree | 9f51129a18a65823dfa8242491756a0697ea274a /mash/example | |
parent | 03b487d118b5b1c0e5651a889cc56b443ba1d526 (diff) | |
download | chromium_src-e486004502c17ab80953ef324926a536b8030d1e.zip chromium_src-e486004502c17ab80953ef324926a536b8030d1e.tar.gz chromium_src-e486004502c17ab80953ef324926a536b8030d1e.tar.bz2 |
Global conversion of Pass()→std::move() on OS==linux
❆(੭ु ◜◡‾)੭ु⁾☃❆
BUG=557422
R=avi@chromium.org
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/1550693002
Cr-Commit-Position: refs/heads/master@{#366956}
Diffstat (limited to 'mash/example')
-rw-r--r-- | mash/example/window_type_launcher/main.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mash/example/window_type_launcher/main.cc b/mash/example/window_type_launcher/main.cc index f22a09e..826820a 100644 --- a/mash/example/window_type_launcher/main.cc +++ b/mash/example/window_type_launcher/main.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <utility> + #include "base/at_exit.h" #include "base/command_line.h" #include "base/debug/stack_trace.h" @@ -69,7 +71,7 @@ int main(int argc, char** argv) { &application_request, mojo::ScopedMessagePipeHandle())); base::MessageLoop loop(mojo::common::MessagePumpMojo::Create()); WindowTypeLauncher delegate; - mojo::ApplicationImpl impl(&delegate, application_request.Pass()); + mojo::ApplicationImpl impl(&delegate, std::move(application_request)); loop.Run(); mojo::embedder::ShutdownIPCSupport(); |