Bug 109731 - Don't restart shared timer if both the current and the new fire time are in the past
Summary: Don't restart shared timer if both the current and the new fire time are in t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 12:25 PST by Antti Koivisto
Modified: 2013-02-13 15:11 PST (History)
1 user (show)

See Also:


Attachments
patch (3.97 KB, patch)
2013-02-13 13:45 PST, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2013-02-13 12:25:49 PST
In ~50% of cases we reschedule the shared timer both the old and the new fire time have already passed. We can skip rescheduling in this case, the shared timer will fire immediately anyway.
Comment 1 Antti Koivisto 2013-02-13 13:45:15 PST
Created attachment 188171 [details]
patch
Comment 2 Antti Koivisto 2013-02-13 15:11:25 PST
http://trac.webkit.org/changeset/142811