mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 17:54:57 +00:00
LibWeb: Port Document interface from DeprecatedString to String
This commit is contained in:
parent
9d88e14f20
commit
e74031a396
15 changed files with 108 additions and 96 deletions
|
@ -290,8 +290,7 @@ void HTMLScriptElement::prepare_script()
|
|||
}
|
||||
|
||||
if (!encoding.has_value()) {
|
||||
auto document_encoding = document().encoding_or_default();
|
||||
encoding = String::from_deprecated_string(document_encoding).release_value_but_fixme_should_propagate_errors();
|
||||
encoding = document().encoding_or_default();
|
||||
}
|
||||
|
||||
VERIFY(encoding.has_value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue