Bug 1102804 - Fixed -Wparentheses warnings found in mingw build (dom/plugins part). r=aklotz

This commit is contained in:
Jacek Caban 2014-11-27 10:58:58 +01:00
parent fa07b549d1
commit 02846b8ff0
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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. */