1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:47:34 +00:00

LibWeb: Port Node interface from DeprecatedString to String

Which is fortunately quite straight forward :^)
This commit is contained in:
Shannon Booth 2023-09-17 10:51:43 +12:00 committed by Andreas Kling
parent a76ef04ae6
commit 8ce9e51c97
21 changed files with 50 additions and 45 deletions

View file

@ -37,7 +37,7 @@ private:
virtual void initialize(JS::Realm&) override;
// ^Node
virtual DeprecatedFlyString node_name() const override { return "#shadow-root"; }
virtual FlyString node_name() const override { return "#shadow-root"_fly_string; }
virtual bool is_shadow_root() const final { return true; }
// NOTE: The specification doesn't seem to specify a default value for mode. Assuming closed for now.