Closed Bug 1740831 Opened 3 years ago Closed 3 years ago

Remove two enum aliases LineBreaker::{WordBreak,Strictness}

Categories

(Core :: Internationalization, task)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(2 files)

LineBreaker::WordBreak and LineBreaker::Strictness [1] are just aliases of WordBreakRule and LineBreakRule in Segmenter.h [2]. Remove them can reduce the dependency of legacy lwbrk LineBreaker.

[1] https://searchfox.org/mozilla-central/rev/df6434d2ebfdf2b5f89f205fc81d60d64a774fe1/intl/lwbrk/LineBreaker.h#19-20
[2] https://searchfox.org/mozilla-central/rev/df6434d2ebfdf2b5f89f205fc81d60d64a774fe1/intl/lwbrk/Segmenter.h#73-91

LineBreaker::WordBreak is just an alias of WordBreakRule in Segmenter.h. This is
to reduce the dependency of the legacy LineBreaker.

LineBreaker::Strictness is just an alias of LineBreakRule in Segmenter.h. This
is to reduce the dependency of the legacy LineBreaker.

Depends on D131025

Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/4426d5661aa1 Part 1 - Replace LineBreaker::WordBreak with WordBreakRule. r=m_kato https://hg.mozilla.org/integration/autoland/rev/45766653fe05 Part 2 - Replace LineBreaker::Strictness with LineBreakRule. r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: