From fef8b1f3cdb4663b12e6ca96fe0ec84bd2ffeadf Mon Sep 17 00:00:00 2001 From: "pavlov%pavlov.net" Date: Wed, 18 Jul 2007 18:01:41 +0000 Subject: [PATCH] backing out 378830 due to perf regression. git-svn-id: svn://10.0.0.236/trunk@230205 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/windows/nsAppShell.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla/widget/src/windows/nsAppShell.cpp b/mozilla/widget/src/windows/nsAppShell.cpp index c786f0e167a..9b81af7060f 100644 --- a/mozilla/widget/src/windows/nsAppShell.cpp +++ b/mozilla/widget/src/windows/nsAppShell.cpp @@ -135,12 +135,10 @@ nsAppShell::ProcessNextNativeEvent(PRBool mayWait) do { MSG msg; - // Give priority to system messages (in particular keyboard, mouse, and - // non-user messages). + // Give priority to system messages (in particular keyboard, mouse, timer, + // and paint messages). if (PeekKeyAndIMEMessage(&msg, NULL) || ::PeekMessageW(&msg, NULL, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE) || - // See bug 378830. - ::PeekMessageW(&msg, NULL, 0, WM_USER - 1, PM_REMOVE) || ::PeekMessageW(&msg, NULL, 0, 0, PM_REMOVE)) { gotMessage = PR_TRUE; if (msg.message == WM_QUIT) {