1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 04:04:58 +00:00

LibCore: Remove CTimer::create() overloads in favor of construct()

This commit is contained in:
Andreas Kling 2019-09-21 18:13:17 +02:00
parent 9e00651e14
commit f4b51a63ec
13 changed files with 14 additions and 24 deletions

View file

@ -61,7 +61,7 @@ GScrollBar::GScrollBar(Orientation orientation, GWidget* parent)
: GWidget(parent)
, m_orientation(orientation)
{
m_automatic_scrolling_timer = CTimer::create(this);
m_automatic_scrolling_timer = CTimer::construct(this);
if (!s_up_arrow_bitmap)
s_up_arrow_bitmap = &CharacterBitmap::create_from_ascii(s_up_arrow_bitmap_data, 9, 9).leak_ref();
if (!s_down_arrow_bitmap)