mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 21:12:26 +00:00
LibWeb: Make StyleProperties::operator==(StyleProperties) actually work
It was comparing against itself, oopsie!
This commit is contained in:
parent
ad8d65fd6e
commit
630f2e0ee9
Notes:
sideshowbarker
2024-07-17 17:31:05 +09:00
Author: https://github.com/awesomekling
Commit: 630f2e0ee9
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ bool StyleProperties::operator==(const StyleProperties& other) const
|
|||
|
||||
for (size_t i = 0; i < m_property_values.size(); ++i) {
|
||||
auto const& my_ptr = m_property_values[i];
|
||||
auto const& other_ptr = m_property_values[i];
|
||||
auto const& other_ptr = other.m_property_values[i];
|
||||
if (!my_ptr) {
|
||||
if (other_ptr)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue