Index: content/renderer/presentation/presentation_connection_client.cc |
diff --git a/content/renderer/presentation/presentation_connection_client.cc b/content/renderer/presentation/presentation_connection_client.cc |
index 72d1b68c95ee9f834a7e6affa259e78b00c96980..17e6226944bc1aece4f4ae53ae9f6c2a472f09b8 100644 |
--- a/content/renderer/presentation/presentation_connection_client.cc |
+++ b/content/renderer/presentation/presentation_connection_client.cc |
@@ -11,15 +11,14 @@ namespace content { |
PresentationConnectionClient::PresentationConnectionClient( |
blink::mojom::PresentationSessionInfoPtr session_info) |
- : url_(blink::WebString::fromUTF8(session_info->url)), |
+ : url_(blink::WebString::fromUTF8(session_info->url.spec())), |
id_(blink::WebString::fromUTF8(session_info->id)) {} |
PresentationConnectionClient::PresentationConnectionClient( |
- const mojo::String& url, |
+ const GURL& url, |
const mojo::String& id) |
- : url_(blink::WebString::fromUTF8(url)), |
- id_(blink::WebString::fromUTF8(id)) { |
-} |
+ : url_(blink::WebString::fromUTF8(url.spec())), |
+ id_(blink::WebString::fromUTF8(id)) {} |
PresentationConnectionClient::~PresentationConnectionClient() { |
} |