refactor: add fireAddonEvent() helper to eliminate 170+ null checks

Add inline fireAddonEvent() that wraps the addonEventCallback_ null
check. Replace ~120 direct addonEventCallback_ calls with fireAddonEvent,
eliminating redundant null checks at each callsite and reducing
boilerplate by ~30 lines.
This commit is contained in:
Kelsi 2026-03-25 11:34:22 -07:00
parent 98b9e502c5
commit d646a0451d
2 changed files with 246 additions and 277 deletions

File diff suppressed because it is too large Load diff