Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt 82ebebe276 Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
Xidorn Quan 051a0fc278 Bug 1448526 part 2 - Make nsStyleStructList.h not generated. r=emilio
nsStyleStructList.h was initially made generated in bug 873368 to avoid
manually maintaining boilerplate for if-dispatch, while the if-dispatch
was replaced by jump table in bug 1171842, so the boilerplate went away.

However, in bug 1122781 (before bug 1171842), boilerplate for dependency
check, so it still needs to be generated.

The dependency table is removed in the previous patch, so we no longer
have any boilerplate in the style struct list, and thus it doesn't need
to be generated anymore.

MozReview-Commit-ID: GkbJZ98ojbE

--HG--
extra : rebase_source : a148b97c051bb6c88846cf6ba617c4edef70ca24
extra : source : f1c7d19cde195fb90ac2627d16ed69d020de01b9
2018-03-26 20:09:17 +11:00
Xidorn Quan 9d334f6911 Bug 1448526 part 1 - Remove ComputedStyle::sDependencyTable. r=emilio
MozReview-Commit-ID: Jh7Z4Rg354I

--HG--
extra : rebase_source : 5e936a385f5329fb9c376ade10593988d534dca2
extra : source : eb04dd75e9b00636aa22f291b362e0c74eb0b77b
2018-03-26 20:09:17 +11:00
Emilio Cobos Álvarez a4d01fa250 Bug 1448559: Cleanup CalcStyleDifference. r=xidorn
The aSamePointerStructs argument is unused now.

Also, aIgnoreVariables can be true everywhere now, since variable changes can't
generate change hints, and anonymous boxes and such don't care about whether
they really changed or not.

Only one caller cares about struct equality, and that already compares variables
manually as an optimization on the rust side.

We had this optimization inconsistently in some cases but not others.

MozReview-Commit-ID: F2EISKlxR3K
2018-03-26 09:47:33 +02:00
Emilio Cobos Álvarez 2265ef0801 Bug 1448688: Remove RestyleTracker, ComputedStyle::AsServo, old style system element bits. r=xidorn
MozReview-Commit-ID: ALiOngGqozN
2018-03-26 09:38:07 +02:00
Emilio Cobos Álvarez 2af3d6a81d Bug 1448712: Make the ComputedStyle destructor protected. r=xidorn
MozReview-Commit-ID: 49YOyLIJHcG
2018-03-26 09:37:05 +02:00
Xidorn Quan 5ee2b91bed Bug 1448529 - Remove aListDescendants param of ComputedStyle::List. r=emilio
MozReview-Commit-ID: 8vkOJ83U7Uv

--HG--
extra : rebase_source : 9408de3f0ff49fcd6ffe7c6d2294fc441f1ef659
2018-03-24 15:50:14 +11:00
Emilio Cobos Álvarez e341b20ec4 Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00