mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibGfx: Use ErrorOr<T> for Bitmap::flipped()
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user