mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 16:47:45 +00:00
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
This commit is contained in:
parent
bc319d9e88
commit
d6abfbdc5a
71 changed files with 146 additions and 156 deletions
|
@ -46,8 +46,8 @@ private:
|
|||
|
||||
unsigned m_compose_count { 0 };
|
||||
unsigned m_flush_count { 0 };
|
||||
ObjectPtr<CTimer> m_compose_timer;
|
||||
ObjectPtr<CTimer> m_immediate_compose_timer;
|
||||
RefPtr<CTimer> m_compose_timer;
|
||||
RefPtr<CTimer> m_immediate_compose_timer;
|
||||
bool m_flash_flush { false };
|
||||
bool m_buffers_are_flipped { false };
|
||||
bool m_screen_can_set_buffer { false };
|
||||
|
|
|
@ -21,8 +21,8 @@ private:
|
|||
|
||||
CEventLoop m_event_loop;
|
||||
int m_keyboard_fd { -1 };
|
||||
ObjectPtr<CNotifier> m_keyboard_notifier;
|
||||
RefPtr<CNotifier> m_keyboard_notifier;
|
||||
int m_mouse_fd { -1 };
|
||||
ObjectPtr<CNotifier> m_mouse_notifier;
|
||||
ObjectPtr<CLocalServer> m_server;
|
||||
RefPtr<CNotifier> m_mouse_notifier;
|
||||
RefPtr<CLocalServer> m_server;
|
||||
};
|
||||
|
|
|
@ -33,7 +33,7 @@ private:
|
|||
RefPtr<WSWindow> m_window;
|
||||
WSCPUMonitor m_cpu_monitor;
|
||||
String m_username;
|
||||
ObjectPtr<CTimer> m_timer;
|
||||
RefPtr<CTimer> m_timer;
|
||||
|
||||
Vector<WeakPtr<WSMenu>> m_open_menu_stack;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue