Closed Bug 1645313 Opened 4 years ago Closed 4 years ago

Instantiate mozilla::JapaneseDetector only when needed

Categories

(Core :: DOM: HTML Parser, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

Attachments

(1 file)

Currently, mozilla::JapaneseDetector is always instantiated and mUseJapaneseDetector controls whether it is used.

Remove mUseJapaneseDetector and set mozilla::JapaneseDetector to a non-null value only when mUseJapaneseDetector is presently set to true.

Depends on: 1603712
Severity: -- → S3
Priority: -- → P3
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/06666d192e72 Instantiate mozilla::JapaneseDetector only when needed. r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: