summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-11-16 03:26:46 -0500
committerBehdad Esfahbod <behdad@behdad.org>2018-11-16 03:26:46 -0500
commit729aedf0da90cbf11235a35588cfdc06ba87a784 (patch)
tree31f74265a74559bd6de3b5d5b17e22db449f5011
parentcfb9771a3b096006cbae98438f1ba101d222e0e4 (diff)
[directwrite] Fix build
-rw-r--r--src/hb-directwrite.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc
index 4ae6e7f5..f9b2d261 100644
--- a/src/hb-directwrite.cc
+++ b/src/hb-directwrite.cc
@@ -235,8 +235,6 @@ struct hb_directwrite_font_data_t
hb_directwrite_font_data_t *
_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;
if (unlikely (!data))
return nullptr;