| 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 17e6226944bc1aece4f4ae53ae9f6c2a472f09b8..145e08db32eae6ee210458173ec1056bca86b954 100644
|
| --- a/content/renderer/presentation/presentation_connection_client.cc
|
| +++ b/content/renderer/presentation/presentation_connection_client.cc
|
| @@ -6,24 +6,25 @@
|
|
|
| #include "base/logging.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| +#include "third_party/WebKit/public/platform/WebURL.h"
|
|
|
| namespace content {
|
|
|
| PresentationConnectionClient::PresentationConnectionClient(
|
| blink::mojom::PresentationSessionInfoPtr session_info)
|
| - : url_(blink::WebString::fromUTF8(session_info->url.spec())),
|
| + : url_(session_info->url),
|
| id_(blink::WebString::fromUTF8(session_info->id)) {}
|
|
|
| PresentationConnectionClient::PresentationConnectionClient(
|
| const GURL& url,
|
| const mojo::String& id)
|
| - : url_(blink::WebString::fromUTF8(url.spec())),
|
| + : url_(url),
|
| id_(blink::WebString::fromUTF8(id)) {}
|
|
|
| PresentationConnectionClient::~PresentationConnectionClient() {
|
| }
|
|
|
| -blink::WebString PresentationConnectionClient::getUrl() {
|
| +blink::WebURL PresentationConnectionClient::getUrl() {
|
| return url_;
|
| }
|
|
|
|
|