summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSEventLoop.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-20 15:39:15 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-20 15:39:15 +0200
commitd1bacb9885ecaca7d5bd612f2501e9d32abf7411 (patch)
tree2697b0f614288a76655d728f26bc1d0237523feb /Servers/WindowServer/WSEventLoop.cpp
parent50a65604130f9c0aea46799231e88ac956ac018b (diff)
downloadserenity-d1bacb9885ecaca7d5bd612f2501e9d32abf7411.zip
LibCore: Convert CNotifier to ObjectPtr
Diffstat (limited to 'Servers/WindowServer/WSEventLoop.cpp')
-rw-r--r--Servers/WindowServer/WSEventLoop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Servers/WindowServer/WSEventLoop.cpp b/Servers/WindowServer/WSEventLoop.cpp
index df6a2e1a73..544fac4f3a 100644
--- a/Servers/WindowServer/WSEventLoop.cpp
+++ b/Servers/WindowServer/WSEventLoop.cpp
@@ -43,10 +43,10 @@ WSEventLoop::WSEventLoop()
ASSERT(m_keyboard_fd >= 0);
ASSERT(m_mouse_fd >= 0);
- m_keyboard_notifier = make<CNotifier>(m_keyboard_fd, CNotifier::Read);
+ m_keyboard_notifier = CNotifier::create(m_keyboard_fd, CNotifier::Read);
m_keyboard_notifier->on_ready_to_read = [this] { drain_keyboard(); };
- m_mouse_notifier = make<CNotifier>(m_mouse_fd, CNotifier::Read);
+ m_mouse_notifier = CNotifier::create(m_mouse_fd, CNotifier::Read);
m_mouse_notifier->on_ready_to_read = [this] { drain_mouse(); };
WSClipboard::the().on_content_change = [&] {