Closed Bug 1176337 Opened 9 years ago Closed 9 years ago

Remove unnecessarily gcc-4.4-specific cast from nsTableRowFrame::ReflowChildren(), now that we require newer gcc

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

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.)
(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: nobody → jfkthame
Status: NEW → ASSIGNED
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+
https://hg.mozilla.org/mozilla-central/rev/fc4d79e8bad8
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: