From 0e19f456bc18000a66d8e6dcfc9319834b68f366 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 18 Nov 2016 14:08:15 -0800 Subject: [PATCH] Fixup error from #14238 --- components/style/font_face.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/font_face.rs b/components/style/font_face.rs index 62d8f6ade19..4a5f34237ad 100644 --- a/components/style/font_face.rs +++ b/components/style/font_face.rs @@ -26,11 +26,11 @@ impl ToCss for Source { fn to_css(&self, dest: &mut W) -> fmt::Result where W: fmt::Write { match *self { Source::Url(ref url) => { - try!(dest.write_str("local(\"")); + try!(dest.write_str("url(\"")); try!(url.to_css(dest)); }, Source::Local(ref family) => { - try!(dest.write_str("url(\"")); + try!(dest.write_str("local(\"")); try!(family.to_css(dest)); }, }