summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Frame/EventHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Frame/EventHandler.cpp')
-rw-r--r--Libraries/LibWeb/Frame/EventHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Frame/EventHandler.cpp b/Libraries/LibWeb/Frame/EventHandler.cpp
index 97bdfb327c..c24636bad7 100644
--- a/Libraries/LibWeb/Frame/EventHandler.cpp
+++ b/Libraries/LibWeb/Frame/EventHandler.cpp
@@ -145,7 +145,7 @@ bool EventHandler::handle_mousedown(const Gfx::IntPoint& position, unsigned butt
}
}
} else if (button == GUI::MouseButton::Right) {
- page_client.page_did_request_link_context_menu(m_frame.to_main_frame_position(position), link->href(), link->target(), modifiers);
+ page_client.page_did_request_link_context_menu(m_frame.to_main_frame_position(position), url, link->target(), modifiers);
} else if (button == GUI::MouseButton::Middle) {
page_client.page_did_middle_click_link(url, link->target(), modifiers);
}