mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibWeb+WebContent: Take advantage of IPC encoding improvements
This removes a couple of places where we were constructing strings or vectors just to transfer data over IPC. And passes some values by const& to remove clangd noise.
This commit is contained in:
parent
68947d55d9
commit
62912b985a
Notes:
github-actions[bot]
2025-03-09 15:15:48 +00:00
Author: https://github.com/trflynn89
Commit: 62912b985a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3865
11 changed files with 50 additions and 51 deletions
|
@ -542,7 +542,7 @@ EventResult EventHandler::handle_mouseup(CSSPixelPoint viewport_position, CSSPix
|
|||
.is_looping = media_element.has_attribute(HTML::AttributeNames::loop),
|
||||
};
|
||||
|
||||
m_navigable->page().did_request_media_context_menu(media_element.unique_id(), top_level_viewport_position, "", modifiers, move(menu));
|
||||
m_navigable->page().did_request_media_context_menu(media_element.unique_id(), top_level_viewport_position, "", modifiers, menu);
|
||||
} else {
|
||||
m_navigable->page().client().page_did_request_context_menu(top_level_viewport_position);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue