[directwrite] Fix build

This commit is contained in:
Behdad Esfahbod 2018-11-16 03:26:46 -05:00
parent cfb9771a3b
commit 729aedf0da
1 changed files with 0 additions and 2 deletions

View File

@ -235,8 +235,6 @@ struct hb_directwrite_font_data_t
hb_directwrite_font_data_t * hb_directwrite_font_data_t *
_hb_directwrite_shaper_font_data_create (hb_font_t *font) _hb_directwrite_shaper_font_data_create (hb_font_t *font)
{ {
if (unlikely (!hb_directwrite_shaper_face_data_ensure (font->face))) return nullptr;
hb_directwrite_font_data_t *data = new hb_directwrite_font_data_t; hb_directwrite_font_data_t *data = new hb_directwrite_font_data_t;
if (unlikely (!data)) if (unlikely (!data))
return nullptr; return nullptr;