aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/text
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-05-07 16:42:46 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-05-08 12:46:03 +0200
commit02e1901bc15812dfc74b4979e0951bf7593e7fc9 (patch)
tree7758970f50502206f1d264201069bbaea2eb28fd /components/gfx/text
parentbd2cd40c5029f3124f2ed492b4fab7dc8f9101c8 (diff)
downloadservo-02e1901bc15812dfc74b4979e0951bf7593e7fc9.tar.gz
servo-02e1901bc15812dfc74b4979e0951bf7593e7fc9.zip
Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07)
Diffstat (limited to 'components/gfx/text')
-rw-r--r--components/gfx/text/shaping/harfbuzz.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/text/shaping/harfbuzz.rs b/components/gfx/text/shaping/harfbuzz.rs
index 6285ab42133..0449961ded1 100644
--- a/components/gfx/text/shaping/harfbuzz.rs
+++ b/components/gfx/text/shaping/harfbuzz.rs
@@ -164,7 +164,7 @@ impl Shaper {
Shaper::float_to_fixed(pt_size) as c_int);
// configure static function callbacks.
- hb_font_set_funcs(hb_font, **HB_FONT_FUNCS, font as *mut Font as *mut c_void, None);
+ hb_font_set_funcs(hb_font, HB_FONT_FUNCS.as_ptr(), font as *mut Font as *mut c_void, None);
Shaper {
hb_face: hb_face,