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:
Andrew Kaster 2023-09-22 18:18:19 -06:00 committed by Alexander Kalenik
parent a5e05c5082
commit e05a6f6aa2

View file

@ -37,6 +37,8 @@ public:
virtual ~NavigationDestination() override;
AK::URL const& raw_url() const { return m_url; }
private:
NavigationDestination(JS::Realm&);