Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc
This commit is contained in:
@@ -225,7 +225,7 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
} else if (mayWait) {
|
||||
// Block and wait for any posted application message
|
||||
mozilla::HangMonitor::Suspend();
|
||||
::WaitMessage();
|
||||
WinUtils::WaitForMessage();
|
||||
}
|
||||
} while (!gotMessage && mayWait);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user