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

LibWeb: Remove some to_deprecated_string() calls in the CSS code

This commit is contained in:
Sam Atkins 2023-12-01 16:45:31 +00:00 committed by Andreas Kling
parent 9c1c7720c5
commit 6dbc3044bd
9 changed files with 12 additions and 12 deletions

View file

@ -119,7 +119,7 @@ WebIDL::ExceptionOr<JS::Value> MediaList::item_value(size_t index) const
{
if (index >= m_media.size())
return JS::js_undefined();
return JS::PrimitiveString::create(vm(), m_media[index]->to_string().to_deprecated_string());
return JS::PrimitiveString::create(vm(), m_media[index]->to_string());
}
}