diff --git a/widget/windows/DirectManipulationOwner.cpp b/widget/windows/DirectManipulationOwner.cpp index 856aa2376c3a..b43148152fcb 100644 --- a/widget/windows/DirectManipulationOwner.cpp +++ b/widget/windows/DirectManipulationOwner.cpp @@ -325,6 +325,9 @@ DManipEventHandler::OnContentUpdated(IDirectManipulationViewport* viewport, } else if (mState == State::ePinching) { if (mShouldSendPinchStart) { updateLastScale = SendPinch(Phase::eStart, scale); + // If we get here our current scale is not fuzzy equal to the previous + // scale, so SendPinch should return true. + MOZ_ASSERT(updateLastScale); mShouldSendPinchStart = false; } else { updateLastScale = SendPinch(Phase::eMiddle, scale);