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

Unified Diff: mash/wm/window_manager_apptest.cc

Issue 1550693002: Global conversion of Pass()→std::move() on Linux (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 | « mash/wm/window_manager_application.cc ('k') | mash/wm/window_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager_apptest.cc
diff --git a/mash/wm/window_manager_apptest.cc b/mash/wm/window_manager_apptest.cc
index 54b6dfb39a9e4b58cd3125f1acb8d97c51c01179..ddb9566a48bd7136f3d6b0121da9d939ac268b71 100644
--- a/mash/wm/window_manager_apptest.cc
+++ b/mash/wm/window_manager_apptest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <stdint.h>
+#include <utility>
#include "base/bind.h"
#include "base/macros.h"
@@ -34,9 +35,10 @@ class WindowManagerAppTest : public mojo::test::ApplicationTestBase,
window_tree_client_request = GetProxy(&window_tree_client);
mojo::Map<mojo::String, mojo::Array<uint8_t>> properties;
properties.mark_non_null();
- window_manager->OpenWindow(window_tree_client.Pass(), properties.Pass());
+ window_manager->OpenWindow(std::move(window_tree_client),
+ std::move(properties));
mus::WindowTreeConnection* connection = mus::WindowTreeConnection::Create(
- this, window_tree_client_request.Pass(),
+ this, std::move(window_tree_client_request),
mus::WindowTreeConnection::CreateType::WAIT_FOR_EMBED);
return connection->GetRoot();
}
« no previous file with comments | « mash/wm/window_manager_application.cc ('k') | mash/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698