summaryrefslogtreecommitdiff
path: root/LibGUI/GWindow.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-21 18:37:47 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-21 18:37:47 +0200
commit90b1354688e988ba1311a5645f631d353fa7ff80 (patch)
tree5619e16c34d3f2f9142c270e2a906614a6d598a6 /LibGUI/GWindow.h
parent77b9fa89dd36fcd56d956667a956ef7f2ee8f963 (diff)
downloadserenity-90b1354688e988ba1311a5645f631d353fa7ff80.zip
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
Diffstat (limited to 'LibGUI/GWindow.h')
-rw-r--r--LibGUI/GWindow.h6
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 };