Bug 1322464 - Fix an invalid assignment in assertion expression. r=froydnj

MozReview-Commit-ID: EFCSnfxnreT

--HG--
extra : rebase_source : 92636764a12eda78315a9a62d81709913078fd41
This commit is contained in:
Ting-Yu Chou 2016-12-08 22:04:08 +08:00
parent 3d37a30fb1
commit 6d092ba5ea

View File

@ -268,7 +268,7 @@ public:
// A race condition similar to the case described above could
// occur, so waitResult could be WAIT_TIMEOUT, but that doesn't
// matter for the actions that need to be taken.
MOZ_RELEASE_ASSERT(waitResult = WAIT_OBJECT_0 + 1 ||
MOZ_RELEASE_ASSERT(waitResult == WAIT_OBJECT_0 + 1 ||
waitResult == WAIT_TIMEOUT);
BOOL success = ResetEvent(wakeAllEvent_);