mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 258136: Long HTML page takes very long to load on OS/2. r=mkaply
Fixing an old typo to make OS/2 load long pages up to 10 times as fast! :-)
This commit is contained in:
parent
b900715bbc
commit
7b6b401274
@ -3600,9 +3600,9 @@ nsWindow::GetLastInputEventTime(PRUint32& aTime)
|
||||
ULONG ulStatus = WinQueryQueueStatus(HWND_DESKTOP);
|
||||
|
||||
// If there is pending input then return the current time.
|
||||
if (ulStatus && (QS_KEY | QS_MOUSE | QS_MOUSEBUTTON | QS_MOUSEMOVE)) {
|
||||
if (ulStatus & (QS_KEY | QS_MOUSE)) {
|
||||
gLastInputEventTime = PR_IntervalToMicroseconds(PR_IntervalNow());
|
||||
}
|
||||
}
|
||||
|
||||
aTime = gLastInputEventTime;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user