From 30ff8ac865a266c8dca11eeac155c2cd3d1aa159 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 3 Aug 2018 17:32:00 -0700 Subject: [PATCH] Rename --- src/hb-machinery-private.hh | 6 +++--- src/hb-ot-font.cc | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/hb-machinery-private.hh b/src/hb-machinery-private.hh index ce90fabd4..0d2dbc3cd 100644 --- a/src/hb-machinery-private.hh +++ b/src/hb-machinery-private.hh @@ -594,7 +594,7 @@ template -struct hb_base_lazy_loader_t +struct hb_lazy_loader_t { static_assert (WheresFace > 0, ""); @@ -657,7 +657,7 @@ struct hb_base_lazy_loader_t /* Specializations. */ template -struct hb_lazy_loader_t : hb_base_lazy_loader_t, T> +struct hb_object_lazy_loader_t : hb_lazy_loader_t, T> { static inline T *create (hb_face_t *face) { @@ -681,7 +681,7 @@ struct hb_lazy_loader_t : hb_base_lazy_loader_t -struct hb_table_lazy_loader_t : hb_base_lazy_loader_t, T, hb_blob_t> +struct hb_table_lazy_loader_t : hb_lazy_loader_t, T, hb_blob_t> { static inline hb_blob_t *create (hb_face_t *face) { diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc index 48934b1b7..025f94376 100644 --- a/src/hb-ot-font.cc +++ b/src/hb-ot-font.cc @@ -70,10 +70,10 @@ struct hb_ot_font_t OT::vmtx::accelerator_t v_metrics; hb_face_t *face; /* MUST be JUST before the lazy loaders. */ - hb_lazy_loader_t<1, OT::glyf::accelerator_t> glyf; - hb_lazy_loader_t<2, OT::CBDT::accelerator_t> cbdt; - hb_lazy_loader_t<3, OT::post::accelerator_t> post; - hb_lazy_loader_t<4, OT::kern::accelerator_t> kern; + hb_object_lazy_loader_t<1, OT::glyf::accelerator_t> glyf; + hb_object_lazy_loader_t<2, OT::CBDT::accelerator_t> cbdt; + hb_object_lazy_loader_t<3, OT::post::accelerator_t> post; + hb_object_lazy_loader_t<4, OT::kern::accelerator_t> kern; };