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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 15 06:00:11 PDT 2013


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

           Summary: webkitgtk will freeze gui when time go back to past
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: snyh at snyh.org


In Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:ChromeClient::paint.

There has check timeUntilNextDisplay > 0  to reduce the no necessary painting, but you forget to check timeSinceLastDisplay's value can be an minus!!!

please add 
this code before " if (timeUntilNextDisplay > 0) { "


-------------------------------------------------------------
if (timeSinceLastDisplay < 0) { // We can go back to the past in computer World:)
    timeUntilNextDisplay = 0;
}
------------------------------------------------------------------

-- 
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