Index: third_party/harfbuzz-ng/src/hb-ot-layout.cc |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-layout.cc b/third_party/harfbuzz-ng/src/hb-ot-layout.cc |
index 39d007d676415a2facc8ea2378f8388be9a059f3..275a960d586a255ee81211f6f7ef2ea7863a2134 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-layout.cc |
+++ b/third_party/harfbuzz-ng/src/hb-ot-layout.cc |
@@ -28,6 +28,7 @@ |
* Google Author(s): Behdad Esfahbod |
*/ |
+#include "hb-open-type-private.hh" |
#include "hb-ot-layout-private.hh" |
#include "hb-ot-layout-gdef-table.hh" |
@@ -798,7 +799,7 @@ hb_ot_layout_position_finish (hb_font_t *font, hb_buffer_t *buffer) |
} |
/** |
- * Since: 0.9.8 |
+ * Since: 0.9.10 |
**/ |
hb_bool_t |
hb_ot_layout_get_size_params (hb_face_t *face, |
@@ -925,13 +926,10 @@ apply_backward (OT::hb_apply_context_t *c, |
return ret; |
} |
-struct hb_apply_forward_context_t |
+struct hb_apply_forward_context_t : |
+ OT::hb_dispatch_context_t<hb_apply_forward_context_t, bool, HB_DEBUG_APPLY> |
{ |
inline const char *get_name (void) { return "APPLY_FWD"; } |
- static const unsigned int max_debug_depth = HB_DEBUG_APPLY; |
- typedef bool return_t; |
- template <typename T, typename F> |
- inline bool may_dispatch (const T *obj, const F *format) { return true; } |
template <typename T> |
inline return_t dispatch (const T &obj) { return apply_forward (c, obj, accel); } |
static return_t default_return_value (void) { return false; } |