From e58e8ab42e832604cc71b01a25ca1e199323d7c6 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Thu, 6 Jul 2017 19:21:22 +0200 Subject: Upgrade to the latest version of WebRender --- components/gfx/font.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/gfx/font.rs') diff --git a/components/gfx/font.rs b/components/gfx/font.rs index f2a6acf1c30..357f61a2d7a 100644 --- a/components/gfx/font.rs +++ b/components/gfx/font.rs @@ -24,7 +24,7 @@ use text::glyph::{ByteIndex, GlyphData, GlyphId, GlyphStore}; use text::shaping::ShaperMethods; use time; use unicode_script::Script; -use webrender_traits; +use webrender_api; macro_rules! ot_tag { ($t1:expr, $t2:expr, $t3:expr, $t4:expr) => ( @@ -112,7 +112,7 @@ pub struct Font { shaper: Option, shape_cache: RefCell>>, glyph_advance_cache: RefCell>, - pub font_key: webrender_traits::FontKey, + pub font_key: webrender_api::FontKey, } impl Font { @@ -121,7 +121,7 @@ impl Font { descriptor: FontTemplateDescriptor, requested_pt_size: Au, actual_pt_size: Au, - font_key: webrender_traits::FontKey) -> Font { + font_key: webrender_api::FontKey) -> Font { let metrics = handle.metrics(); Font { handle: handle, -- cgit v1.2.3