diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2023-03-19 13:11:56 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-06 08:41:43 +0200 |
commit | 1080281e588eea7331ac3f41e32b29642256f104 (patch) | |
tree | aa9e3e6582f97aa72b17bf093ca19367a9b2391b /Userland/Libraries/LibWeb/HTML/AbstractBrowsingContext.h | |
parent | 03d6cb88fff2fcb3b6ce69a903704b9346b76f7e (diff) | |
download | serenity-1080281e588eea7331ac3f41e32b29642256f104.zip |
LibWeb: Port AbstractBrowsingContext to String
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/AbstractBrowsingContext.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/AbstractBrowsingContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/AbstractBrowsingContext.h b/Userland/Libraries/LibWeb/HTML/AbstractBrowsingContext.h index 03fadf4c3c..881abc3c25 100644 --- a/Userland/Libraries/LibWeb/HTML/AbstractBrowsingContext.h +++ b/Userland/Libraries/LibWeb/HTML/AbstractBrowsingContext.h @@ -22,8 +22,8 @@ public: virtual HTML::WindowProxy* window_proxy() = 0; virtual HTML::WindowProxy const* window_proxy() const = 0; - DeprecatedString const& name() const { return m_name; } - void set_name(DeprecatedString const& name) { m_name = name; } + String const& name() const { return m_name; } + void set_name(String const& name) { m_name = name; } JS::GCPtr<BrowsingContext> opener_browsing_context() const { return m_opener_browsing_context; } void set_opener_browsing_context(JS::GCPtr<BrowsingContext> browsing_context) { m_opener_browsing_context = browsing_context; } @@ -45,7 +45,7 @@ public: virtual void set_window_handle(String handle) = 0; protected: - DeprecatedString m_name; + String m_name; // https://html.spec.whatwg.org/multipage/browsers.html#is-popup TokenizedFeature::Popup m_is_popup { TokenizedFeature::Popup::No }; |