mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 957075 - Add missing parentheses, silence an MSVC warning. r=shu
--HG-- extra : rebase_source : 5c95b5a56b3e03cb2933582226ce03d32df23a85
This commit is contained in:
parent
9d2935a7ed
commit
2c2b278f37
@ -502,7 +502,7 @@ class js::AutoDebugModeInvalidation
|
||||
// must all agree on the toggle. This is so we can decide if we need
|
||||
// to invalidate on-stack scripts.
|
||||
MOZ_ASSERT_IF(needInvalidation_ != NoNeed,
|
||||
needInvalidation_ == debugMode ? ToggledOn : ToggledOff);
|
||||
needInvalidation_ == (debugMode ? ToggledOn : ToggledOff));
|
||||
needInvalidation_ = debugMode ? ToggledOn : ToggledOff;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user