Index: mojo/shell/connect_to_application_params.cc |
diff --git a/mojo/shell/connect_to_application_params.cc b/mojo/shell/connect_to_application_params.cc |
index bd0edc2313c7ece6ebe68ba05a97ca1f7e0f1e46..e631617b9323c5562f4688b76d64b63b3341837d 100644 |
--- a/mojo/shell/connect_to_application_params.cc |
+++ b/mojo/shell/connect_to_application_params.cc |
@@ -4,6 +4,8 @@ |
#include "mojo/shell/connect_to_application_params.h" |
+#include <utility> |
+ |
#include "mojo/shell/application_instance.h" |
namespace mojo { |
@@ -38,12 +40,12 @@ void ConnectToApplicationParams::SetTargetURLRequest(URLRequestPtr request) { |
Identity target = request ? Identity(GURL(request->url), target_.qualifier(), |
target_.filter()) |
: Identity(); |
- SetTargetURLRequest(request.Pass(), target); |
+ SetTargetURLRequest(std::move(request), target); |
} |
void ConnectToApplicationParams::SetTargetURLRequest(URLRequestPtr request, |
const Identity& target) { |
- target_url_request_ = request.Pass(); |
+ target_url_request_ = std::move(request); |
target_ = target; |
} |