mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
Userland: Replace remaining Core::Timer::construct()s with try_create()
This commit is contained in:
committed by
Andreas Kling
parent
e181b1cb82
commit
652f87821b
Notes:
sideshowbarker
2024-07-17 05:58:46 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/652f87821b Pull-request: https://github.com/SerenityOS/serenity/pull/16960 Reviewed-by: https://github.com/alimpfard
@@ -16,7 +16,7 @@ REGISTER_WIDGET(GUI, ImageWidget)
|
||||
namespace GUI {
|
||||
|
||||
ImageWidget::ImageWidget(StringView)
|
||||
: m_timer(Core::Timer::construct())
|
||||
: m_timer(Core::Timer::try_create().release_value_but_fixme_should_propagate_errors())
|
||||
|
||||
{
|
||||
set_frame_thickness(0);
|
||||
|
||||
Reference in New Issue
Block a user