summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Window.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/Window.h')
-rw-r--r--Libraries/LibGUI/Window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/Window.h b/Libraries/LibGUI/Window.h
index f8fe54652d..59d20a1bcd 100644
--- a/Libraries/LibGUI/Window.h
+++ b/Libraries/LibGUI/Window.h
@@ -189,8 +189,8 @@ protected:
private:
virtual bool is_window() const override final { return true; }
- NonnullRefPtr<Gfx::Bitmap> create_backing_bitmap(const Gfx::Size&);
- NonnullRefPtr<Gfx::Bitmap> create_shared_bitmap(Gfx::BitmapFormat, const Gfx::Size&);
+ RefPtr<Gfx::Bitmap> create_backing_bitmap(const Gfx::Size&);
+ RefPtr<Gfx::Bitmap> create_shared_bitmap(Gfx::BitmapFormat, const Gfx::Size&);
void set_current_backing_bitmap(Gfx::Bitmap&, bool flush_immediately = false);
void flip(const Vector<Gfx::Rect, 32>& dirty_rects);
void force_update();