summaryrefslogtreecommitdiff
path: root/WindowServer/WSMenuBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WindowServer/WSMenuBar.cpp')
-rw-r--r--WindowServer/WSMenuBar.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/WindowServer/WSMenuBar.cpp b/WindowServer/WSMenuBar.cpp
index 80e6db9546..f8aa83dff8 100644
--- a/WindowServer/WSMenuBar.cpp
+++ b/WindowServer/WSMenuBar.cpp
@@ -1,8 +1,10 @@
#include "WSMenuBar.h"
#include "WSMenu.h"
#include "WSMenuItem.h"
+#include <Kernel/Process.h>
-WSMenuBar::WSMenuBar()
+WSMenuBar::WSMenuBar(Process& process)
+ : m_process(process.make_weak_ptr())
{
}