mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 04:59:23 +00:00
LibWeb/CSS: Replace resolve_number_deprecated() with resolve_number()
This commit is contained in:
parent
d9a386fa81
commit
0dba531772
Notes:
github-actions[bot]
2025-09-24 15:36:31 +00:00
Author: https://github.com/AtkinsSJ
Commit: 0dba531772
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6290
Reviewed-by: https://github.com/tcl3 ✅
8 changed files with 6 additions and 22 deletions
|
@ -80,7 +80,7 @@ String TransformationStyleValue::to_string(SerializationMode mode) const
|
|||
if (value->is_number())
|
||||
return value->as_number().number();
|
||||
if (value->is_calculated() && value->as_calculated().resolves_to_number())
|
||||
return value->as_calculated().resolve_number_deprecated({});
|
||||
return value->as_calculated().resolve_number({});
|
||||
|
||||
VERIFY_NOT_REACHED();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue