aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/text
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2017-07-06 19:21:22 +0200
committerGlenn Watson <github@intuitionlibrary.com>2017-07-13 07:44:08 +1000
commite58e8ab42e832604cc71b01a25ca1e199323d7c6 (patch)
tree780698cde4d2f3400f75ce3cdac6c4b5bab18d50 /components/gfx/text
parent4b6e79337ef975e3ec752513b76ae6a6284c1199 (diff)
downloadservo-e58e8ab42e832604cc71b01a25ca1e199323d7c6.tar.gz
servo-e58e8ab42e832604cc71b01a25ca1e199323d7c6.zip
Upgrade to the latest version of WebRender
Diffstat (limited to 'components/gfx/text')
-rw-r--r--components/gfx/text/text_run.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gfx/text/text_run.rs b/components/gfx/text/text_run.rs
index b65700221f7..05538a45b26 100644
--- a/components/gfx/text/text_run.rs
+++ b/components/gfx/text/text_run.rs
@@ -14,7 +14,7 @@ use std::sync::Arc;
use style::str::char_is_whitespace;
use text::glyph::{ByteIndex, GlyphStore};
use unicode_bidi as bidi;
-use webrender_traits;
+use webrender_api;
use xi_unicode::LineBreakIterator;
thread_local! {
@@ -30,7 +30,7 @@ pub struct TextRun {
pub font_template: Arc<FontTemplateData>,
pub actual_pt_size: Au,
pub font_metrics: FontMetrics,
- pub font_key: webrender_traits::FontKey,
+ pub font_key: webrender_api::FontKey,
/// The glyph runs that make up this text run.
pub glyphs: Arc<Vec<GlyphRun>>,
pub bidi_level: bidi::Level,