diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-21 18:37:47 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-21 18:37:47 +0200 |
commit | 90b1354688e988ba1311a5645f631d353fa7ff80 (patch) | |
tree | 5619e16c34d3f2f9142c270e2a906614a6d598a6 /LibGUI/GWindow.h | |
parent | 77b9fa89dd36fcd56d956667a956ef7f2ee8f963 (diff) | |
download | serenity-90b1354688e988ba1311a5645f631d353fa7ff80.zip |
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
Diffstat (limited to 'LibGUI/GWindow.h')
-rw-r--r-- | LibGUI/GWindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibGUI/GWindow.h b/LibGUI/GWindow.h index f83fded8a5..48cee884a2 100644 --- a/LibGUI/GWindow.h +++ b/LibGUI/GWindow.h @@ -135,12 +135,12 @@ private: void collect_keyboard_activation_targets(); - Retained<GraphicsBitmap> create_backing_bitmap(const Size&); + NonnullRefPtr<GraphicsBitmap> create_backing_bitmap(const Size&); void set_current_backing_bitmap(GraphicsBitmap&, bool flush_immediately = false); void flip(const Vector<Rect, 32>& dirty_rects); - RetainPtr<GraphicsBitmap> m_front_bitmap; - RetainPtr<GraphicsBitmap> m_back_bitmap; + RefPtr<GraphicsBitmap> m_front_bitmap; + RefPtr<GraphicsBitmap> m_back_bitmap; int m_window_id { 0 }; float m_opacity_when_windowless { 1.0f }; GWidget* m_main_widget { nullptr }; |