diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-01-08 19:23:00 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-09 23:00:24 +0000 |
commit | f3db548a3d068c051c4d6eba970b89422a6b9522 (patch) | |
tree | df8846e5699175b425ca8d07b7b6350c0a04dcf7 /Userland/Libraries/LibWeb/HTML/ErrorEvent.h | |
parent | 2eacc7aec1b2b1cc5a491727baa75817ca819bc5 (diff) | |
download | serenity-f3db548a3d068c051c4d6eba970b89422a6b9522.zip |
AK+Everywhere: Rename FlyString to DeprecatedFlyString
DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so
let's rename it to A) match the name of DeprecatedString, B) write a new
FlyString class that is tied to String.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/ErrorEvent.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/ErrorEvent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/ErrorEvent.h b/Userland/Libraries/LibWeb/HTML/ErrorEvent.h index 6a8574ffdf..e4ce4ba2fd 100644 --- a/Userland/Libraries/LibWeb/HTML/ErrorEvent.h +++ b/Userland/Libraries/LibWeb/HTML/ErrorEvent.h @@ -24,8 +24,8 @@ class ErrorEvent final : public DOM::Event { WEB_PLATFORM_OBJECT(ErrorEvent, DOM::Event); public: - static ErrorEvent* create(JS::Realm&, FlyString const& event_name, ErrorEventInit const& event_init = {}); - static ErrorEvent* construct_impl(JS::Realm&, FlyString const& event_name, ErrorEventInit const& event_init); + static ErrorEvent* create(JS::Realm&, DeprecatedFlyString const& event_name, ErrorEventInit const& event_init = {}); + static ErrorEvent* construct_impl(JS::Realm&, DeprecatedFlyString const& event_name, ErrorEventInit const& event_init); virtual ~ErrorEvent() override; @@ -45,7 +45,7 @@ public: JS::Value error() const { return m_error; } private: - ErrorEvent(JS::Realm&, FlyString const& event_name, ErrorEventInit const& event_init); + ErrorEvent(JS::Realm&, DeprecatedFlyString const& event_name, ErrorEventInit const& event_init); virtual void visit_edges(Cell::Visitor&) override; |