1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:07:45 +00:00

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

View file

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