mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
PixelPaint: Remove try_
prefix from fallible Image methods
This commit is contained in:
parent
9c08bb9555
commit
39f1a6eb6f
6 changed files with 31 additions and 31 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue