mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:28:11 +00:00
LibWeb: Use String for getting/setting MediaQueryList media
This commit is contained in:
parent
6dbc3044bd
commit
ef1e942f3e
6 changed files with 7 additions and 7 deletions
|
@ -43,9 +43,9 @@ void MediaQueryList::visit_edges(Cell::Visitor& visitor)
|
|||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#dom-mediaquerylist-media
|
||||
DeprecatedString MediaQueryList::media() const
|
||||
String MediaQueryList::media() const
|
||||
{
|
||||
return serialize_a_media_query_list(m_media).to_deprecated_string();
|
||||
return serialize_a_media_query_list(m_media);
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#dom-mediaquerylist-matches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue