aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index b4163cfdd80..f2fa3cb9104 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -1512,7 +1512,7 @@ where
let marker_fragments = match node.style(self.style_context()).get_list().list_style_image {
Image::Url(ref url_value) => {
let image_info = Box::new(ImageFragmentInfo::new(
- url_value.url().cloned(),
+ url_value.url().cloned().map(Into::into),
None,
node,
self.layout_context,