mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibWeb: Add getter to NavigationDestination to get its URL as an AK::URL
Other parts of LibWeb are going to want to mess with the URL object, not its serialzied representation. So let's add a backdoor getter.
This commit is contained in:
parent
a5e05c5082
commit
e05a6f6aa2
Notes:
sideshowbarker
2024-07-17 03:25:24 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/e05a6f6aa2 Pull-request: https://github.com/SerenityOS/serenity/pull/21199
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ public:
|
|||
|
||||
virtual ~NavigationDestination() override;
|
||||
|
||||
AK::URL const& raw_url() const { return m_url; }
|
||||
|
||||
private:
|
||||
NavigationDestination(JS::Realm&);
|
||||
|
||||
|
|
Loading…
Reference in a new issue