mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
LibWeb: Port CSS::Supports to new Strings
This commit is contained in:
parent
fc3540c4b1
commit
a381ce9519
4 changed files with 32 additions and 32 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
|
||||
* Copyright (c) 2021-2023, Sam Atkins <atkinssj@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -32,7 +32,7 @@ JS::ThrowCompletionOr<void> CSSSupportsRule::initialize(JS::Realm& realm)
|
|||
|
||||
DeprecatedString CSSSupportsRule::condition_text() const
|
||||
{
|
||||
return m_supports->to_deprecated_string();
|
||||
return m_supports->to_string().release_value_but_fixme_should_propagate_errors().to_deprecated_string();
|
||||
}
|
||||
|
||||
void CSSSupportsRule::set_condition_text(DeprecatedString text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue