mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Fire: Use ElapsedTimer::start_new()
This commit is contained in:
parent
ddfdfc2342
commit
a34ea51ca4
|
@ -115,8 +115,7 @@ Fire::~Fire()
|
|||
void Fire::paint_event(GUI::PaintEvent& event)
|
||||
{
|
||||
GUI::Frame::paint_event(event);
|
||||
Core::ElapsedTimer timer;
|
||||
timer.start();
|
||||
auto timer = Core::ElapsedTimer::start_new();
|
||||
|
||||
GUI::Painter painter(*this);
|
||||
painter.add_clip_rect(event.rect());
|
||||
|
|
Loading…
Reference in a new issue