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 5a3bfb601fc9ca911e69a5e7e3a332827d7c5f0e..9285dfae09ebb676389ee65fdfc7c1fee6c132c6 100644 |
--- a/content/browser/presentation/presentation_type_converters.h |
+++ b/content/browser/presentation/presentation_type_converters.h |
@@ -31,8 +31,7 @@ struct TypeConverter<blink::mojom::PresentationSessionInfoPtr, |
const content::PresentationSessionInfo& input) { |
blink::mojom::PresentationSessionInfoPtr output( |
blink::mojom::PresentationSessionInfo::New()); |
- // TODO(crbug.com/632623): Convert downstream APIs to use GURL |
- output->url = GURL(input.presentation_url); |
+ output->url = input.presentation_url; |
output->id = input.presentation_id; |
return output; |
} |
@@ -43,8 +42,7 @@ struct TypeConverter<content::PresentationSessionInfo, |
blink::mojom::PresentationSessionInfoPtr> { |
static content::PresentationSessionInfo Convert( |
const blink::mojom::PresentationSessionInfoPtr& input) { |
- // TODO(crbug.com/632623): Convert downstream APIs to use GURL |
- return content::PresentationSessionInfo(input->url.spec(), input->id); |
+ return content::PresentationSessionInfo(input->url, input->id); |
} |
}; |