Closed Bug 1565274 Opened 5 years ago Closed 5 years ago

nsPageSequenceFrame.h includes itself

Categories

(Core :: Printing: Setup, task, P3)

70 Branch
task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: calixte, Assigned: calixte)

References

Details

Attachments

(1 file)

For reference:
https://searchfox.org/mozilla-central/source/layout/generic/nsPageSequenceFrame.h#10

I didn't find any other file with this name so it's likely a self inclusion.

Good catch! This was a minor mistake in bug 1557104.
Specifically here:
https://hg.mozilla.org/mozilla-central/rev/301eb76934ab#l14.1

(We previously had nsSimplePageSequenceFrame.h which included nsIPageSequenceFrame.h, but we merged those into a single header in bug 1557104. As part of that, we updated nsIPageSequenceFrame.h #includes to point at nsPageSequenceFrame.h instead, including the one within nsSimplePageSequenceFrame.h itself (which was simultaneously becoming nsPageSequenceFrame.h)

We can just remove this #include line. It's harmless & useless in its current state. calixte, were you planning on doing that? If not, I'm happy to do so.

Depends on: 1557104
Flags: needinfo?(cdenizet)
Priority: -- → P3

Yes I will.

Assignee: nobody → cdenizet
Flags: needinfo?(cdenizet)

nsPageSequenceFrame.h includes itself.

Pushed by cdenizet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f6a326c94c53
Remove self inclusion from nsPageSequenceFrame.h r=dholbert
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: