Bug 1437167 - Part 4: Spell CVStatus correctly on a CLOSED TREE, a=bustage
☠☠ backed out by f082f787a988 ☠ ☠
authorNika Layzell <nika@thelayzells.com>
Mon, 05 Mar 2018 16:46:46 -0500
changeset 461690 b98740e7c6391c14300fbea43e65fcd7ed04286f
parent 461689 b5ecb6a24d73c0ce151f2bb3cb70aeeedfd6886e
child 461691 9162eefca30f23b84fd9bbac39cae8ad5eff5df2
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1437167
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1437167 - Part 4: Spell CVStatus correctly on a CLOSED TREE, a=bustage MozReview-Commit-ID: I4t8OtmxjDa
ipc/glue/WindowsMessageLoop.cpp
--- a/ipc/glue/WindowsMessageLoop.cpp
+++ b/ipc/glue/WindowsMessageLoop.cpp
@@ -1032,17 +1032,17 @@ MessageChannel::WaitForSyncNotify(bool a
 
     CVStatus status = mMonitor->Wait(timeout);
 
     MOZ_ASSERT(mIsSyncWaitingOnNonMainThread);
     mIsSyncWaitingOnNonMainThread = false;
 
     // If the timeout didn't expire, we know we received an event. The
     // converse is not true.
-    return WaitResponse(status == CVStaus::Timeout);
+    return WaitResponse(status == CVStatus::Timeout);
   }
 
   NS_ASSERTION(mFlags & REQUIRE_DEFERRED_MESSAGE_PROTECTION,
                "Shouldn't be here for channels that don't use message deferral!");
   NS_ASSERTION(mTopFrame && !mTopFrame->mInterrupt,
                "Top frame is not a sync frame!");
 
   MonitorAutoUnlock unlock(*mMonitor);