File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -2531,20 +2531,14 @@ WillChange ComputedProperties::will_change() const
25312531 return property_id.release_value ();
25322532 };
25332533
2534- if (value.is_value_list ()) {
2535- auto const & value_list = value.as_value_list ();
2536- Vector<WillChange::WillChangeEntry> will_change_entries;
2537- for (auto const & style_value : value_list.values ()) {
2538- if (auto entry = to_will_change_entry (*style_value); entry.has_value ())
2539- will_change_entries.append (*entry);
2540- }
2541- return WillChange (move (will_change_entries));
2534+ auto const & value_list = value.as_value_list ();
2535+ Vector<WillChange::WillChangeEntry> will_change_entries;
2536+ for (auto const & style_value : value_list.values ()) {
2537+ if (auto entry = to_will_change_entry (*style_value); entry.has_value ())
2538+ will_change_entries.append (*entry);
25422539 }
25432540
2544- auto will_change_entry = to_will_change_entry (value);
2545- if (will_change_entry.has_value ())
2546- return WillChange ({ *will_change_entry });
2547- return WillChange::make_auto ();
2541+ return WillChange (move (will_change_entries));
25482542}
25492543
25502544CSSPixels ComputedProperties::font_size () const
You can’t perform that action at this time.
0 commit comments