Closed
Bug 351690
Opened 20 years ago
Closed 20 years ago
nsBidiPresUtils::Resolve has a hopefully useless null check of frame
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: timeless, Assigned: uriber)
References
()
Details
| Assignee | ||
Comment 1•20 years ago
|
||
I don't think it's useless: notice http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/base/nsBidiPresUtils.cpp&rev=1.85&mark=386#384
i wish i had a better unrolled version of that function so i could actually understand the exit path, specifically once frame is null what forces the code to either exit the for (; ;) loop or get a new value? my guess is it's runLength accumulating something, but it's really scary code if you don't know it inside and out.
Status: RESOLVED → VERIFIED
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: layout.bidi → layout.fonts-and-text
You need to log in
before you can comment on or make changes to this bug.
Description
•