Closed Bug 1448526 Opened 6 years ago Closed 6 years ago

ComputedStyle::sDependencyTable and its friends can be removed

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: xidorn, Assigned: xidorn)

References

Details

Attachments

(2 files)

The dependency table was initially introduced in bug 1122781 to detect cycle dependencies between style structs with a combination of runtime and build time check.

It is no longer necessary as Servo uses early / other category to resolve dependencies between properties rather than nested invoking style struct computation.

Specifically ComputedStyle::sDependencyTable and the code to generate it in generate-stylestructlist.py can be removed.
Assignee: nobody → xidorn+moz
Comment on attachment 8962241 [details]
Bug 1448526 part 1 - Remove ComputedStyle::sDependencyTable.

https://reviewboard.mozilla.org/r/231090/#review236508
Attachment #8962241 - Flags: review?(emilio) → review+
Comment on attachment 8962242 [details]
Bug 1448526 part 2 - Make nsStyleStructList.h not generated.

https://reviewboard.mozilla.org/r/231092/#review236510
Attachment #8962242 - Flags: review?(emilio) → review+
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.

hg error in cmd: hg rebase -s dee4e0909c1d60cc071d90cd97cd5a2a9561aec0 -d 868bd92df11a: rebasing 453998:dee4e0909c1d "Bug 1448526 part 1 - Remove ComputedStyle::sDependencyTable. r=emilio"
merging layout/style/ComputedStyle.cpp
merging layout/style/ComputedStyle.h
rebasing 453999:1f3661ae0e8b "Bug 1448526 part 2 - Make nsStyleStructList.h not generated. r=emilio" (tip)
merging dom/base/nsWindowMemoryReporter.cpp
merging dom/base/nsWindowSizes.h
merging layout/style/ComputedStyle.cpp
merging layout/style/ComputedStyle.h
merging layout/style/ServoBindings.cpp
merging layout/style/nsComputedDOMStyle.h
merging layout/style/nsStyleStruct.cpp
warning: conflicts while merging dom/base/nsWindowMemoryReporter.cpp! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Pushed by xquan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/338d12d53540
part 1 - Remove ComputedStyle::sDependencyTable. r=emilio
https://hg.mozilla.org/integration/autoland/rev/5767653abf86
part 2 - Make nsStyleStructList.h not generated. r=emilio
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/aadba8230c95
followup: Fix remaining macro declaration on a CLOSED TREE. r=me
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/f4c5d4aba912
followup: Fix remaining macro declaration on a CLOSED TREE. r=me
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: