diff options
author | Martin Robinson <mrobinson@igalia.com> | 2017-07-06 19:21:22 +0200 |
---|---|---|
committer | Glenn Watson <github@intuitionlibrary.com> | 2017-07-13 07:44:08 +1000 |
commit | e58e8ab42e832604cc71b01a25ca1e199323d7c6 (patch) | |
tree | 780698cde4d2f3400f75ce3cdac6c4b5bab18d50 /components/gfx/font.rs | |
parent | 4b6e79337ef975e3ec752513b76ae6a6284c1199 (diff) | |
download | servo-e58e8ab42e832604cc71b01a25ca1e199323d7c6.tar.gz servo-e58e8ab42e832604cc71b01a25ca1e199323d7c6.zip |
Upgrade to the latest version of WebRender
Diffstat (limited to 'components/gfx/font.rs')
-rw-r--r-- | components/gfx/font.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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<Shaper>, shape_cache: RefCell<HashMap<ShapeCacheEntry, Arc<GlyphStore>>>, glyph_advance_cache: RefCell<HashMap<u32, FractionalPixel>>, - 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, |