1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:55:08 +00:00

LibWeb: Port HTMLObjectElement interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-03 15:39:01 +12:00 committed by Tim Flynn
parent de07fb5132
commit 63aa93aaf4
3 changed files with 5 additions and 5 deletions

View file

@ -36,8 +36,8 @@ public:
virtual void attribute_changed(DeprecatedFlyString const& name, DeprecatedString const& value) override;
DeprecatedString data() const;
void set_data(DeprecatedString const& data) { MUST(set_attribute(HTML::AttributeNames::data, data)); }
String data() const;
void set_data(String const& data) { MUST(set_attribute(HTML::AttributeNames::data, data)); }
DeprecatedString type() const { return deprecated_attribute(HTML::AttributeNames::type); }