LibGfx: Use ErrorOr<T> for Bitmap::flipped()

This commit is contained in:
Andreas Kling 2021-11-06 11:58:00 +01:00
commit db90b4554e
Notes: sideshowbarker 2024-07-18 01:24:41 +09:00
4 changed files with 9 additions and 8 deletions

View file

@ -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();