Closed Bug 1063384 Opened 5 years ago Closed 5 years ago

make RestyleTracker::DoProcessRestyles's restylesToProcess not have an mDescendants array in each element

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file)

The restylesToProcess array in RestyleTracker::DoProcessRestyles has elements of type RestyleData, which now includes an mDescendants array.  That mDescendants array isn't necessary here, so we could split RestyleData into a base type that just has the restyle hints and a derived type that adds mDescendants, and make restylesToProcess be an array of that base type.
Attached patch patchSplinter Review
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8485576 - Flags: review?(dbaron)
OS: Linux → All
Hardware: x86_64 → All
Attachment #8485576 - Flags: review?(dbaron) → review+
https://hg.mozilla.org/mozilla-central/rev/4738068430a9
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.