зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1372422: Make mozilla::HangMonitor::IsUIMessageWaiting always return false in content processes; r=jimm
MozReview-Commit-ID: 3OoH1ptkyeL
This commit is contained in:
Родитель
2c201ef76a
Коммит
77f4e5b25c
|
@ -345,6 +345,12 @@ IsUIMessageWaiting()
|
|||
#ifndef XP_WIN
|
||||
return false;
|
||||
#else
|
||||
// There should never be mouse, keyboard, or IME messages in a message queue
|
||||
// in the content process, so don't waste time making multiple PeekMessage
|
||||
// calls.
|
||||
if (GeckoProcessType_Content == XRE_GetProcessType()) {
|
||||
return false;
|
||||
}
|
||||
#define NS_WM_IMEFIRST WM_IME_SETCONTEXT
|
||||
#define NS_WM_IMELAST WM_IME_KEYUP
|
||||
BOOL haveUIMessageWaiting = FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче