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 e631617b9323c5562f4688b76d64b63b3341837d..9d7c3a469f80afbf9b398673335792e7baa3a06a 100644 |
--- a/mojo/shell/connect_to_application_params.cc |
+++ b/mojo/shell/connect_to_application_params.cc |
@@ -37,8 +37,8 @@ void ConnectToApplicationParams::SetTargetURL(const GURL& target_url) { |
} |
void ConnectToApplicationParams::SetTargetURLRequest(URLRequestPtr request) { |
- Identity target = request ? Identity(GURL(request->url), target_.qualifier(), |
- target_.filter()) |
+ Identity target = request ? Identity(GURL(request->url.get()), |
+ target_.qualifier(), target_.filter()) |
: Identity(); |
SetTargetURLRequest(std::move(request), target); |
} |