mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibGfx: Make PaintingSurface::write_from_bitmap take a Bitmap const&
It makes it a little bit easier to distinguish which one of read_into_bitmap and write_from_bitmap actually modify the Bitmap that was passed to the method. NFC.
This commit is contained in:
parent
4d7b7178f9
commit
407aa629a0
Notes:
github-actions[bot]
2024-12-05 16:17:53 +00:00
Author: https://github.com/LucasChollet
Commit: 407aa629a0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1764
Reviewed-by: https://github.com/trflynn89
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ public:
|
|||
#endif
|
||||
|
||||
void read_into_bitmap(Bitmap&);
|
||||
void write_from_bitmap(Bitmap&);
|
||||
void write_from_bitmap(Bitmap const&);
|
||||
|
||||
void notify_content_will_change();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue