| Index: third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh b/third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh
|
| index eebc87b4c59caa416f2c796f020a389cff430c36..459a1a3dd5c49608f3b3fc892f366fe828320ead 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh
|
| @@ -630,7 +630,7 @@ struct Ligature
|
| unsigned int total_component_count = 0;
|
|
|
| unsigned int match_length = 0;
|
| - unsigned int match_positions[MAX_CONTEXT_LENGTH];
|
| + unsigned int match_positions[HB_MAX_CONTEXT_LENGTH];
|
|
|
| if (likely (!match_input (c, count,
|
| &component[1],
|
| @@ -970,7 +970,7 @@ struct ReverseChainSingleSubstFormat1
|
| inline bool apply (hb_apply_context_t *c) const
|
| {
|
| TRACE_APPLY (this);
|
| - if (unlikely (c->nesting_level_left != MAX_NESTING_LEVEL))
|
| + if (unlikely (c->nesting_level_left != HB_MAX_NESTING_LEVEL))
|
| return_trace (false); /* No chaining to this type */
|
|
|
| unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint);
|
|
|