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 |