mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Port HTMLObjectElement interface from DeprecatedString to String
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 04:57:23 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/63aa93aaf4 Pull-request: https://github.com/SerenityOS/serenity/pull/20926 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/trflynn89 ✅
@@ -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); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user