summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/MediaList.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-02-14 20:19:58 +0000
committerTim Flynn <trflynn89@pm.me>2023-02-15 12:48:26 -0500
commita0b1eddc56eebdfab7f8223b3ac9a6bf687a4190 (patch)
tree77ba2bd69780d3c226631bff8184c539c0d0e7eb /Userland/Libraries/LibWeb/CSS/MediaList.cpp
parenta381ce9519bd1098ed14fe495d830bafe5a3a49b (diff)
downloadserenity-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.cpp2
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