mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
LibGfx: Use ErrorOr<T> for Bitmap::flipped()
This commit is contained in:
parent
69c4614a94
commit
db90b4554e
4 changed files with 9 additions and 8 deletions
|
@ -47,7 +47,7 @@ void ViewWidget::clear()
|
|||
|
||||
void ViewWidget::flip(Gfx::Orientation orientation)
|
||||
{
|
||||
m_bitmap = m_bitmap->flipped(orientation);
|
||||
m_bitmap = m_bitmap->flipped(orientation).release_value_but_fixme_should_propagate_errors();
|
||||
set_scale(m_scale);
|
||||
|
||||
resize_window();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue