1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +00:00

LibWeb: Port HTMLTextAreaElement from DeprecatedString

This commit is contained in:
Shannon Booth 2023-11-26 10:59:52 +13:00 committed by Andreas Kling
parent a7b8828db2
commit cc43dbf56e
2 changed files with 5 additions and 6 deletions

View file

@ -27,9 +27,9 @@ public:
virtual JS::GCPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
DeprecatedString const& type() const
String const& type() const
{
static DeprecatedString textarea = "textarea";
static String const textarea = "textarea"_string;
return textarea;
}
@ -84,7 +84,7 @@ private:
JS::GCPtr<DOM::Text> m_text_node;
bool m_dirty { false };
DeprecatedString m_raw_value;
String m_raw_value;
};
}