mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibGfx+LibWebView+UI: Store Gfx::Bitmap in RefPtr to const
This commit is contained in:
parent
be2dd91289
commit
91b549f797
Notes:
github-actions[bot]
2025-04-16 16:44:09 +00:00
Author: https://github.com/ADKaster
Commit: 91b549f797
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4362
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/Hendiadyoin1
8 changed files with 15 additions and 15 deletions
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
void clear_content_filters();
|
||||
|
||||
NonnullRefPtr<Core::Promise<RefPtr<Gfx::Bitmap>>> take_screenshot();
|
||||
NonnullRefPtr<Core::Promise<RefPtr<Gfx::Bitmap const>>> take_screenshot();
|
||||
|
||||
TestPromise& test_promise() { return *m_test_promise; }
|
||||
void on_test_complete(TestCompletion);
|
||||
|
@ -45,7 +45,7 @@ private:
|
|||
Core::AnonymousBuffer m_theme;
|
||||
Web::DevicePixelSize m_viewport_size;
|
||||
|
||||
RefPtr<Core::Promise<RefPtr<Gfx::Bitmap>>> m_pending_screenshot;
|
||||
RefPtr<Core::Promise<RefPtr<Gfx::Bitmap const>>> m_pending_screenshot;
|
||||
|
||||
NonnullRefPtr<TestPromise> m_test_promise;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue