mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibWeb: Port CSSStyleSheet interface from DeprecatedString to String
This commit is contained in:
parent
d93e916d0c
commit
da637a527d
5 changed files with 22 additions and 16 deletions
|
@ -25,7 +25,7 @@ CSSStyleSheet::CSSStyleSheet(JS::Realm& realm, CSSRuleList& rules, MediaList& me
|
|||
, m_rules(&rules)
|
||||
{
|
||||
if (location.has_value())
|
||||
set_location(location->to_deprecated_string());
|
||||
set_location(MUST(location->to_string()));
|
||||
|
||||
for (auto& rule : *m_rules)
|
||||
rule->set_parent_style_sheet(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue