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

Unified Diff: mojo/shell/shell_application_loader.cc

Issue 1538823002: Convert Pass()→std::move() in mojo/ (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 | « mojo/shell/shell_application_delegate.cc ('k') | mojo/shell/static_application_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell_application_loader.cc
diff --git a/mojo/shell/shell_application_loader.cc b/mojo/shell/shell_application_loader.cc
index 469da91590289d1f63dffa1a73918dd2f27ced05..0370a986817baebf4a2999e82ee2db73bba44ffd 100644
--- a/mojo/shell/shell_application_loader.cc
+++ b/mojo/shell/shell_application_loader.cc
@@ -4,6 +4,8 @@
#include "mojo/shell/shell_application_loader.h"
+#include <utility>
+
#include "mojo/application/public/cpp/application_impl.h"
#include "mojo/shell/shell_application_delegate.h"
@@ -19,7 +21,7 @@ void ShellApplicationLoader::Load(
InterfaceRequest<Application> application_request) {
DCHECK(application_request.is_pending());
app_.reset(new ApplicationImpl(new ShellApplicationDelegate(manager_),
- application_request.Pass()));
+ std::move(application_request)));
}
} // namespace shell
« no previous file with comments | « mojo/shell/shell_application_delegate.cc ('k') | mojo/shell/static_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698