summaryrefslogtreecommitdiffstats
path: root/src/core/browser_accessibility_qt.h
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-09-01 13:59:59 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-09-01 17:04:36 +0200
commitae9700400f9e7c34101c3deec3f374395a7681d7 (patch)
tree48e87a7977ca6e9442d6d4664236d047634816bd /src/core/browser_accessibility_qt.h
parentfd5bba617a152b11bb8b6e5429ef185dee4684b2 (diff)
Avoid duplicating timers in MessagePumpForUIQt
Since DoDelayedWork always returns the time of the next delayed work to process, we would create a new timer for the same event every time we process an event. This would cause a timer starvation on Windows for example. Instead of blindly creating timers, keep track of the requested delay and create a new timer only if the new delay is shorted than the currently scheduled one. Change-Id: I2606231f0a48b8feb85f058a78eb772d26b222f3 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/browser_accessibility_qt.h')
0 files changed, 0 insertions, 0 deletions