1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 22:15:06 +00:00

WindowServer: Make MenuBar unaware of Process.

This commit is contained in:
Andreas Kling 2019-02-14 10:49:59 +01:00
parent 7723c06f27
commit 2733a788eb
4 changed files with 7 additions and 11 deletions

View file

@ -1,11 +1,10 @@
#include "WSMenuBar.h"
#include "WSMenu.h"
#include "WSMenuItem.h"
#include <Kernel/Process.h>
WSMenuBar::WSMenuBar(int menubar_id, Process& process)
: m_menubar_id(menubar_id)
, m_process(process.make_weak_ptr())
WSMenuBar::WSMenuBar(int client_id, int menubar_id)
: m_client_id(client_id)
, m_menubar_id(menubar_id)
{
}