diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh index f77521f68..8f4e9a11a 100644 --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -939,7 +939,7 @@ struct StateTableDriver bool is_idempotent_on_all_out_of_bounds (context_t *c, hb_aat_apply_context_t *ac) { const auto entry = machine.get_entry (StateTableT::STATE_START_OF_TEXT, CLASS_OUT_OF_BOUNDS); - return !c->is_actionable (ac->buffer, this, entry) && + return !c->is_actionable (ac->buffer, entry) && machine.new_state (entry.newState) == StateTableT::STATE_START_OF_TEXT; } @@ -1021,7 +1021,7 @@ struct StateTableDriver bool is_safe_to_break = ( /* 1. */ - !c->is_actionable (buffer, this, entry) && + !c->is_actionable (buffer, entry) && /* 2. */ // This one is meh, I know... @@ -1033,7 +1033,7 @@ struct StateTableDriver wouldbe_entry = &machine.get_entry(StateTableT::STATE_START_OF_TEXT, klass) , /* 2c'. */ - !c->is_actionable (buffer, this, *wouldbe_entry) && + !c->is_actionable (buffer, *wouldbe_entry) && /* 2c". */ ( next_state == machine.new_state(wouldbe_entry->newState) && @@ -1043,7 +1043,7 @@ struct StateTableDriver ) && /* 3. */ - !c->is_actionable (buffer, this, machine.get_entry (state, CLASS_END_OF_TEXT)) + !c->is_actionable (buffer, machine.get_entry (state, CLASS_END_OF_TEXT)) ); if (!is_safe_to_break && buffer->backtrack_len () && buffer->idx < buffer->len) diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index fe8684cbd..9a97cbf8e 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -243,7 +243,6 @@ struct KerxSubTableFormat1 crossStream (table->header.coverage & table->header.CrossStream) {} bool is_actionable (hb_buffer_t *buffer HB_UNUSED, - StateTableDriver *driver HB_UNUSED, const Entry &entry) { return Format1EntryT::performAction (entry); } void transition (hb_buffer_t *buffer, @@ -529,7 +528,6 @@ struct KerxSubTableFormat4 mark (0) {} bool is_actionable (hb_buffer_t *buffer HB_UNUSED, - StateTableDriver *driver HB_UNUSED, const Entry &entry) { return entry.data.ankrActionIndex != 0xFFFF; } void transition (hb_buffer_t *buffer, diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh index ffe5676a4..aef287cee 100644 --- a/src/hb-aat-layout-morx-table.hh +++ b/src/hb-aat-layout-morx-table.hh @@ -75,7 +75,6 @@ struct RearrangementSubtable start (0), end (0) {} bool is_actionable (hb_buffer_t *buffer HB_UNUSED, - StateTableDriver *driver HB_UNUSED, const Entry &entry) const { return (entry.flags & Verb) && start < end; @@ -233,7 +232,6 @@ struct ContextualSubtable subs (table+table->substitutionTables) {} bool is_actionable (hb_buffer_t *buffer, - StateTableDriver *driver, const Entry &entry) const { if (buffer->idx == buffer->len && !mark_set) @@ -485,7 +483,6 @@ struct LigatureSubtable match_length (0) {} bool is_actionable (hb_buffer_t *buffer HB_UNUSED, - StateTableDriver *driver HB_UNUSED, const Entry &entry) const { return LigatureEntryT::performAction (entry); @@ -795,7 +792,6 @@ struct InsertionSubtable insertionAction (table+table->insertionAction) {} bool is_actionable (hb_buffer_t *buffer HB_UNUSED, - StateTableDriver *driver HB_UNUSED, const Entry &entry) const { return (entry.flags & (CurrentInsertCount | MarkedInsertCount)) &&