Closed
Bug 1176337
Opened 11 years ago
Closed 11 years ago
Remove unnecessarily gcc-4.4-specific cast from nsTableRowFrame::ReflowChildren(), now that we require newer gcc
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: dholbert, Assigned: jfkthame)
References
Details
Attachments
(1 file)
Right now we have this in nsTableRowFrame.cpp:
> 892 kidReflowState.emplace(aPresContext, aReflowState, kidFrame,
> 893 kidAvailSize,
> 894 // Cast needed for gcc 4.4.
> 895 uint32_t(nsHTMLReflowState::CALLER_WILL_INIT));
http://mxr.mozilla.org/mozilla-central/source/layout/tables/nsTableRowFrame.cpp#892
That "gcc 4.4" thing stood out to me. It was added in late 2014 to address some bustage on B2G, discussed in bug 35168 comment 95.
But I don't think we need it anymore, because we require newer GCC now.
Quoting https://developer.mozilla.org/en-US/docs/Using_CXX_in_Mozilla_code :
> [...] as of Mozilla 38, gcc 4.7 is required on all platforms
(Presumably "all platforms" includes B2G.)
| Reporter | ||
Comment 1•11 years ago
|
||
(Note that bug 1174700 is touching this region of code; we should wait to fix this until after the patches there land, to avoid bitrotting them.)
Depends on: 1174700
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8625341 -
Flags: review?(dholbert)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
| Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 8625341 [details] [diff] [review]
Remove unnecessarily gcc-4.4-specific cast from nsTableRowFrame::ReflowChildren(), now that we require newer gcc
Thanks!
Attachment #8625341 -
Flags: review?(dholbert) → review+
| Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•