diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-02-14 20:19:58 +0000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-02-15 12:48:26 -0500 |
commit | a0b1eddc56eebdfab7f8223b3ac9a6bf687a4190 (patch) | |
tree | 77ba2bd69780d3c226631bff8184c539c0d0e7eb /Userland/Libraries/LibWeb/CSS/MediaList.cpp | |
parent | a381ce9519bd1098ed14fe495d830bafe5a3a49b (diff) | |
download | serenity-a0b1eddc56eebdfab7f8223b3ac9a6bf687a4190.zip |
LibWeb: Port CSS::MediaQuery to new Strings
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/MediaList.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/MediaList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/MediaList.cpp b/Userland/Libraries/LibWeb/CSS/MediaList.cpp index 2999141b74..ca0a470c6a 100644 --- a/Userland/Libraries/LibWeb/CSS/MediaList.cpp +++ b/Userland/Libraries/LibWeb/CSS/MediaList.cpp @@ -34,7 +34,7 @@ JS::ThrowCompletionOr<void> MediaList::initialize(JS::Realm& realm) // https://www.w3.org/TR/cssom-1/#dom-medialist-mediatext DeprecatedString MediaList::media_text() const { - return serialize_a_media_query_list(m_media); + return serialize_a_media_query_list(m_media).release_value_but_fixme_should_propagate_errors().to_deprecated_string(); } // https://www.w3.org/TR/cssom-1/#dom-medialist-mediatext |