Index: content/browser/presentation/presentation_type_converters.h |
diff --git a/content/browser/presentation/presentation_type_converters.h b/content/browser/presentation/presentation_type_converters.h |
index 9285dfae09ebb676389ee65fdfc7c1fee6c132c6..6de5d26f181ea3c9cc55c1d3e8f1303a73c83af5 100644 |
--- a/content/browser/presentation/presentation_type_converters.h |
+++ b/content/browser/presentation/presentation_type_converters.h |
@@ -31,7 +31,9 @@ struct TypeConverter<blink::mojom::PresentationSessionInfoPtr, |
const content::PresentationSessionInfo& input) { |
blink::mojom::PresentationSessionInfoPtr output( |
blink::mojom::PresentationSessionInfo::New()); |
- output->url = input.presentation_url; |
+ url::mojom::UrlPtr url = url::mojom::Url::New(); |
+ url->url = input.presentation_url; |
+ output->url = std::move(url); |
output->id = input.presentation_id; |
return output; |
} |
@@ -42,7 +44,7 @@ struct TypeConverter<content::PresentationSessionInfo, |
blink::mojom::PresentationSessionInfoPtr> { |
static content::PresentationSessionInfo Convert( |
const blink::mojom::PresentationSessionInfoPtr& input) { |
- return content::PresentationSessionInfo(input->url, input->id); |
+ return content::PresentationSessionInfo(input->url->url, input->id); |
} |
}; |