[Webkit-unassigned] [Bug 119836] webkitgtk will freeze gui when time go back to past

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 19 18:34:47 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119836





--- Comment #4 from snyh <snyh at snyh.org>  2013-08-19 18:34:17 PST ---
m_lastDisplayTime = currentTime() is update too later! (so used m_lastDisplayTime and update it immediately is a good idea) 

So "double timeSinceLastDisplay = currentTime() - m_lastDisplayTime"
timeSinceLastDisplay is always an very big negative number ( minus 3000+ is we go to past one hour) until one hour past!


(In reply to comment #1)
> Do you have a reproducible test case that shows the problem?
> 
> Technically, timeSinceLastDisplay can end up being negative, but it would in the worst case simply cause skipping one paint (dropping a frame).
> This can be avoided by using WTF::monotonicallyIncreasingTime() instead of WTF::currentTime().

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list