mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
LibWeb: Port Range interface from DeprecatedString to String
This commit is contained in:
parent
9f047819a5
commit
7b79324548
3 changed files with 8 additions and 8 deletions
|
@ -427,7 +427,7 @@ String Selection::to_string() const
|
|||
// See https://www.w3.org/Bugs/Public/show_bug.cgi?id=10583
|
||||
if (!m_range)
|
||||
return String {};
|
||||
return String::from_deprecated_string(m_range->to_deprecated_string()).release_value();
|
||||
return m_range->to_string();
|
||||
}
|
||||
|
||||
JS::NonnullGCPtr<DOM::Document> Selection::document() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue