mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Use HashMap::remove() in some places that I wanted it.
This commit is contained in:
parent
969334505d
commit
6ea8ce500c
Notes:
sideshowbarker
2024-07-19 18:49:12 +09:00
Author: https://github.com/awesomekling
Commit: 6ea8ce500c
5 changed files with 10 additions and 5 deletions
|
@ -118,6 +118,12 @@ void WindowManager::addWindow(Window& window)
|
|||
m_windows.set(&window);
|
||||
}
|
||||
|
||||
void WindowManager::removeWindow(Window& window)
|
||||
{
|
||||
ASSERT(m_windows.contains(&window));
|
||||
m_windows.remove(&window);
|
||||
}
|
||||
|
||||
void WindowManager::notifyTitleChanged(Window& window)
|
||||
{
|
||||
//printf("[WM] Window{%p} title set to '%s'\n", &window, window.title().characters());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue