Closed Bug 2008530 Opened 9 months ago Closed 9 months ago

Statically initialize the MathML unicode table for stretchy operators

Categories

(Core :: MathML, task)

task

Tracking

()

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: fwang, Assigned: fwang)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

nsGlyphTableList only contains a single item, which is the unicode table.

glyph table == &gUnicodeTable is used in three places with the glyph
table nullptr in nsMathMLChar::SetFontFamily when called from
https://searchfox.org/firefox-main/rev/e61d59b5c9a651fd7bf28043f87c0dc669833496/layout/mathml/nsMathMLChar.cpp#1279

Pushed by fwang@igalia.com: https://github.com/mozilla-firefox/firefox/commit/2e216f0f8869 https://hg.mozilla.org/integration/autoland/rev/de27e9ea6a87 Part 1 Statically initialize the MathML unicode table for stretchy operators. r=layout-reviewers,dshin https://github.com/mozilla-firefox/firefox/commit/7a3c4b556acb https://hg.mozilla.org/integration/autoland/rev/41988b51abf1 Part 2 - Use `nsGlyphTable::IsUnicodeTable()` instead of raw pointer comparison. r=layout-reviewers,dshin,sergesanspaille

Backed out for causing build bustages @nsMathMLChar.cpp.

Flags: needinfo?(fwang)

(In reply to agoloman from comment #4)

Backed out for causing build bustages @nsMathMLChar.cpp.

This was caused by MOZ_COUNT_CTOR/DTOR for Bloatview. I remove them and deleted the new operators, since this is no longer supposed to be used on the heap.

Flags: needinfo?(fwang)
Pushed by fwang@igalia.com: https://github.com/mozilla-firefox/firefox/commit/97881a44751d https://hg.mozilla.org/integration/autoland/rev/5d6b31564de0 Part 1 Statically initialize the MathML unicode table for stretchy operators. r=layout-reviewers,dshin https://github.com/mozilla-firefox/firefox/commit/2da44da5de3b https://hg.mozilla.org/integration/autoland/rev/3027997e7f92 Part 2 - Use `nsGlyphTable::IsUnicodeTable()` instead of raw pointer comparison. r=layout-reviewers,dshin,sergesanspaille
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: