Closed Bug 1521982 Opened 6 years ago Closed 6 years ago

Adjust callers of nsIFrame::List() in nsBidiPresUtils to stop passing 0 as a const char* argument

Categories

(Core :: Layout, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 file)

Similar to Bug 1503420 Part 1, but searchfox failed to find these because the callers are in #ifdef.

This patch is similar to Bug 1503420 Part 1.

nsIFrame::List()'s second argument should be a const char*, not an
integer. It'll crash if we pass 0 as const char*. Fix the bug by
omitting the argument because the default value of the argument is an
empty string.

Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/f5e26b338d78
Adjust callers of nsIFrame::List() in nsBidiPresUtils to stop passing 0 as a const char* argument. r=dholbert
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: