Closed Bug 1313565 Opened 8 years ago Closed 8 years ago

Convert NS_STYLE_USER_MODIFY, NS_STYLE_WINDOW_DRAGGING and NS_STYLE_ORIENT to enum classes

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: adamtomasv, Assigned: adamtomasv, Mentored)

References

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20161024172922
Blocks: 1277133
Mentor: manishearth
Assignee: nobody → adamtomasv
Comment on attachment 8805433 [details] Bug 1313565 - Convert NS_STYLE_USER_MODIFY_* to enum class ; https://reviewboard.mozilla.org/r/89168/#review88590
Attachment #8805433 - Flags: review?(manishearth) → review+
Attachment #8805433 - Flags: review?(xidorn+moz)
Attachment #8805434 - Flags: review?(xidorn+moz)
Attachment #8805435 - Flags: review?(xidorn+moz)
Comment on attachment 8805434 [details] Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; https://reviewboard.mozilla.org/r/89170/#review88594 ::: layout/style/nsStyleStruct.h:3316 (Diff revision 1) > nsChangeHint_ReflowChangesSizeOrPosition | > nsChangeHint_ClearAncestorIntrinsics; > } > > - mozilla::StyleUserSelect mUserSelect; // [reset] (selection-style) > - uint8_t mForceBrokenImageIcon; // [reset] (0 if not forcing, otherwise forcing) > + mozilla::StyleUserSelect mUserSelect; // [reset](selection-style) > + uint8_t mForceBrokenImageIcon; // [reset] Since the comment for `mForceBrokenImageIcon` isn't aligned anyway, we can just keep `mForceBrokenImageIcon` unaligned (one space after the `uint8_t`).
Comment on attachment 8805434 [details] Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; https://reviewboard.mozilla.org/r/89170/#review88596
Attachment #8805434 - Flags: review?(manishearth) → review+
Attachment #8805435 - Flags: review?(manishearth) → review+
Attachment #8805434 - Flags: review?(xidorn+moz)
Attachment #8805435 - Flags: review?(xidorn+moz)
Comment on attachment 8805433 [details] Bug 1313565 - Convert NS_STYLE_USER_MODIFY_* to enum class ; https://reviewboard.mozilla.org/r/89168/#review88680
Attachment #8805433 - Flags: review?(xidorn+moz) → review+
Comment on attachment 8805434 [details] Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; https://reviewboard.mozilla.org/r/89170/#review88682
Attachment #8805434 - Flags: review?(xidorn+moz) → review+
Attachment #8805435 - Flags: review?(xidorn+moz) → review+
Pushed by xquan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6b80fdaeadfc Convert NS_STYLE_USER_MODIFY_* to enum class ; r=manishearth,xidorn https://hg.mozilla.org/integration/autoland/rev/cb8c35d77841 Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; r=manishearth,xidorn https://hg.mozilla.org/integration/autoland/rev/050803173323 Convert NS_STYLE_ORIENT_* to enum class ; r=manishearth,xidorn
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: