mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibWeb: Port Layout::TextNode from DeprecatedString
This commit is contained in:
parent
6b32a1f18f
commit
56d10bf198
9 changed files with 37 additions and 35 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
|
||||
const DOM::Text& dom_node() const { return static_cast<const DOM::Text&>(*Node::dom_node()); }
|
||||
|
||||
DeprecatedString const& text_for_rendering() const;
|
||||
String const& text_for_rendering() const;
|
||||
|
||||
struct Chunk {
|
||||
Utf8View view;
|
||||
|
@ -55,7 +55,7 @@ public:
|
|||
private:
|
||||
virtual bool is_text_node() const final { return true; }
|
||||
|
||||
Optional<DeprecatedString> m_text_for_rendering;
|
||||
Optional<String> m_text_for_rendering;
|
||||
};
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue