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 f66c3230aba0baffd31ff555ef897b8ddeea7d84..0d3fb2f445772297b97818f30c9032e461119b72 100644 |
--- a/content/browser/presentation/presentation_type_converters.h |
+++ b/content/browser/presentation/presentation_type_converters.h |
@@ -28,7 +28,8 @@ struct TypeConverter<presentation::PresentationSessionInfoPtr, |
const content::PresentationSessionInfo& input) { |
presentation::PresentationSessionInfoPtr output( |
presentation::PresentationSessionInfo::New()); |
- output->url = input.presentation_url; |
+ if (!input.presentation_url.empty()) |
+ output->url = input.presentation_url; |
output->id = input.presentation_id; |
return output.Pass(); |
} |