1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

LibWeb: Port Comment interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-05 00:01:53 +12:00 committed by Tim Flynn
parent 4da1f4e836
commit cc1e4c5cb3
6 changed files with 14 additions and 14 deletions

View file

@ -15,13 +15,13 @@ class Comment final : public CharacterData {
WEB_PLATFORM_OBJECT(Comment, CharacterData);
public:
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Comment>> construct_impl(JS::Realm&, DeprecatedString const& data);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Comment>> construct_impl(JS::Realm&, String const& data);
virtual ~Comment() override = default;
virtual DeprecatedFlyString node_name() const override { return "#comment"; }
private:
Comment(Document&, DeprecatedString const&);
Comment(Document&, String const&);
virtual void initialize(JS::Realm&) override;
};