Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc

This commit is contained in:
Nicholas Cameron
2013-07-31 08:51:45 +12:00
parent ba564ef7ae
commit 8c3a6b38e7
4 changed files with 37 additions and 2 deletions

View File

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