Closed Bug 560271 Opened 15 years ago Closed 15 years ago

nsTextControlFrame.cpp warning for "'mTextListener' will be initialized after...'mInEditorInitialization'

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

(Whiteboard: [build_warning])

Attachments

(1 file)

Attached patch fix (deleted) — Splinter Review
> layout/forms/nsTextControlFrame.h: In constructor ‘nsTextControlFrame::nsTextControlFrame(nsIPresShell*, nsStyleContext*)’:
> layout/forms/nsTextControlFrame.h:376: error: ‘nsTextControlFrame::mTextListener’ will be initialized after
> layout/forms/nsTextControlFrame.h:370: error:   ‘PRPackedBool nsTextControlFrame::mInEditorInitialization’
> layout/forms/nsTextControlFrame.cpp:967: error:   when initialized here

Trivial fix -- just reorder init list in constructor.
Attachment #439974 - Flags: review?(ehsan)
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #439974 - Flags: review?(ehsan) → review+
http://hg.mozilla.org/mozilla-central/rev/e137e3333828
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [build_warning]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: