summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Page/BrowsingContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Page/BrowsingContext.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Page/BrowsingContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Page/BrowsingContext.cpp b/Userland/Libraries/LibWeb/Page/BrowsingContext.cpp
index 404cfbe24e..ea637cacd4 100644
--- a/Userland/Libraries/LibWeb/Page/BrowsingContext.cpp
+++ b/Userland/Libraries/LibWeb/Page/BrowsingContext.cpp
@@ -311,12 +311,12 @@ void BrowsingContext::unregister_viewport_client(ViewportClient& client)
VERIFY(was_removed);
}
-void BrowsingContext::register_frame_nesting(URL const& url)
+void BrowsingContext::register_frame_nesting(AK::URL const& url)
{
m_frame_nesting_levels.ensure(url)++;
}
-bool BrowsingContext::is_frame_nesting_allowed(URL const& url) const
+bool BrowsingContext::is_frame_nesting_allowed(AK::URL const& url) const
{
return m_frame_nesting_levels.get(url).value_or(0) < 3;
}