mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 14:50:18 +00:00
WindowServer: Let menu objects reference the WSClientConnection by pointer.
Since these are owner/ownee relationships, there's no need for indirection.
This commit is contained in:
parent
459cc23441
commit
fa452fadca
Notes:
sideshowbarker
2024-07-19 15:41:13 +09:00
Author: https://github.com/awesomekling
Commit: fa452fadca
6 changed files with 19 additions and 16 deletions
|
@ -2,8 +2,8 @@
|
|||
#include "WSMenu.h"
|
||||
#include "WSMenuItem.h"
|
||||
|
||||
WSMenuBar::WSMenuBar(int client_id, int menubar_id)
|
||||
: m_client_id(client_id)
|
||||
WSMenuBar::WSMenuBar(WSClientConnection& client, int menubar_id)
|
||||
: m_client(client)
|
||||
, m_menubar_id(menubar_id)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue