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:
parent
4da1f4e836
commit
cc1e4c5cb3
6 changed files with 14 additions and 14 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue