PixelPaint: Remove try_ prefix from fallible Image methods

This commit is contained in:
Linus Groh 2023-01-28 20:12:17 +00:00 committed by Jelle Raaijmakers
commit 39f1a6eb6f
Notes: sideshowbarker 2024-07-17 08:59:18 +09:00
6 changed files with 31 additions and 31 deletions

View file

@ -21,7 +21,7 @@ ErrorOr<void> HistogramWidget::rebuild_histogram_data()
if (!m_image)
return {};
auto full_bitmap = TRY(m_image->try_compose_bitmap(Gfx::BitmapFormat::BGRA8888));
auto full_bitmap = TRY(m_image->compose_bitmap(Gfx::BitmapFormat::BGRA8888));
m_data.red.clear_with_capacity();
m_data.green.clear_with_capacity();