summaryrefslogtreecommitdiff
path: root/Kernel/ProcessGUI.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
commitffab6897aa1bc668f98130b4bb485a4602509938 (patch)
treea4d1933fc390ea0803bb3826353262fbf06b885f /Kernel/ProcessGUI.cpp
parent27fa09aee492e6c8da9168d24f0b1d2c5d2162d5 (diff)
downloadserenity-ffab6897aa1bc668f98130b4bb485a4602509938.zip
Big, possibly complete sweep of naming changes.
Diffstat (limited to 'Kernel/ProcessGUI.cpp')
-rw-r--r--Kernel/ProcessGUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/ProcessGUI.cpp b/Kernel/ProcessGUI.cpp
index 5664bcd98f..445fd2e913 100644
--- a/Kernel/ProcessGUI.cpp
+++ b/Kernel/ProcessGUI.cpp
@@ -81,7 +81,7 @@ int Process::gui$destroy_window(int window_id)
if (it == m_windows.end())
return -EBADWINDOW;
auto message = make<WSMessage>(WSMessage::WM_DestroyWindow);
- WSMessageLoop::the().post_message((*it).value.leakPtr(), move(message), true);
+ WSMessageLoop::the().post_message((*it).value.leak_ptr(), move(message), true);
m_windows.remove(window_id);
return 0;
}
@@ -264,7 +264,7 @@ void Process::destroy_all_windows()
{
for (auto& it : m_windows) {
auto message = make<WSMessage>(WSMessage::WM_DestroyWindow);
- WSMessageLoop::the().post_message(it.value.leakPtr(), move(message), true);
+ WSMessageLoop::the().post_message(it.value.leak_ptr(), move(message), true);
}
m_windows.clear();
}