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:
Peter Weilbacher 2008-07-23 08:56:10 +02:00
parent b900715bbc
commit 7b6b401274

View File

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