mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1102804 - Fixed -Wparentheses warnings found in mingw build (dom/plugins part). r=aklotz
This commit is contained in:
parent
fa07b549d1
commit
02846b8ff0
@ -300,7 +300,7 @@ PluginHangUIParent::UnwatchHangUIChildProcess(bool aWait)
|
||||
// it is okay to clear mRegWait; Windows is telling us that the wait's
|
||||
// callback is running but will be cleaned up once the callback returns.
|
||||
if (::UnregisterWaitEx(mRegWait, completionEvent) ||
|
||||
!aWait && ::GetLastError() == ERROR_IO_PENDING) {
|
||||
(!aWait && ::GetLastError() == ERROR_IO_PENDING)) {
|
||||
mRegWait = nullptr;
|
||||
if (aWait) {
|
||||
// We must temporarily unlock mMutex while waiting for the registered
|
||||
|
@ -812,7 +812,7 @@ PluginModuleChromeParent::FinishHangUI()
|
||||
/* If we cancelled the UI or if the user issued a response,
|
||||
we need to reset the child process timeout. */
|
||||
if (needsCancel ||
|
||||
!mIsTimerReset && mHangUIParent->WasShown()) {
|
||||
(!mIsTimerReset && mHangUIParent->WasShown())) {
|
||||
/* We changed the timeout to kChildTimeoutPref when the plugin hang
|
||||
UI was displayed. Now that we're finishing the UI, we need to
|
||||
switch it back to kHangUITimeoutPref. */
|
||||
|
Loading…
Reference in New Issue
Block a user