Closed Bug 1482974 Opened 6 years ago Closed 6 years ago

Prefer initialization at member declaration in gfx/gl

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

(Whiteboard: gfx-noted)

Attachments

(1 file)

This is really helpful where we can get away with it, because it is clear what the default value will be at the declaration, instead of being buried in the ctor(s).
Flags: needinfo?(jmuizelaar)
Comment on attachment 8999717 [details]
Prefer to initialize members at declaration in gfx/gl.

Jeff Muizelaar [:jrmuizel] has approved the revision.
Attachment #8999717 - Flags: review+
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/176dcc5da6fe
Prefer to initialize members at declaration in gfx/gl. r=jrmuizel
Flags: needinfo?(jmuizelaar)
https://hg.mozilla.org/mozilla-central/rev/176dcc5da6fe
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: