LibJS: Add missing Vector::in_reverse() in ensure_property_table()

Regressed with 35fcb028e9.
This commit is contained in:
Andreas Kling 2022-04-13 21:01:29 +02:00
parent 32bff52c25
commit 343d699627
Notes: sideshowbarker 2024-07-17 11:49:57 +09:00

View file

@ -173,7 +173,7 @@ void Shape::ensure_property_table() const
}
transition_chain.append(*this);
for (auto const& shape : transition_chain) {
for (auto const& shape : transition_chain.in_reverse()) {
if (!shape.m_property_key.is_valid()) {
// Ignore prototype transitions as they don't affect the key map.
continue;