Loading dom/telephony/Telephony.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -532,9 +532,6 @@ Telephony::CallStateChanged(uint32_t aServiceId, uint32_t aCallIndex, bool aIsActive, bool aIsOutgoing, bool aIsEmergency, bool aIsConference, bool aIsSwitchable, bool aIsMergeable) { NS_ASSERTION(aCallIndex != kOutgoingPlaceholderCallIndex, "This should never happen!"); nsRefPtr<TelephonyCall> modifiedCall = GetCallFromEverywhere(aServiceId, aCallIndex); Loading dom/telephony/TelephonyCall.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -109,19 +109,19 @@ TelephonyCall::ChangeStateInternal(uint16_t aCallState, bool aFireEvents) if (aCallState == nsITelephonyProvider::CALL_STATE_DISCONNECTED) { NS_ASSERTION(mLive, "Should be live!"); mLive = false; if (mGroup) { mGroup->RemoveCall(this); } else { mTelephony->RemoveCall(this); } mLive = false; } else if (!mLive) { mLive = true; if (mGroup) { mGroup->AddCall(this); } else { mTelephony->AddCall(this); } mLive = true; } if (aFireEvents) { Loading Loading
dom/telephony/Telephony.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -532,9 +532,6 @@ Telephony::CallStateChanged(uint32_t aServiceId, uint32_t aCallIndex, bool aIsActive, bool aIsOutgoing, bool aIsEmergency, bool aIsConference, bool aIsSwitchable, bool aIsMergeable) { NS_ASSERTION(aCallIndex != kOutgoingPlaceholderCallIndex, "This should never happen!"); nsRefPtr<TelephonyCall> modifiedCall = GetCallFromEverywhere(aServiceId, aCallIndex); Loading
dom/telephony/TelephonyCall.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -109,19 +109,19 @@ TelephonyCall::ChangeStateInternal(uint16_t aCallState, bool aFireEvents) if (aCallState == nsITelephonyProvider::CALL_STATE_DISCONNECTED) { NS_ASSERTION(mLive, "Should be live!"); mLive = false; if (mGroup) { mGroup->RemoveCall(this); } else { mTelephony->RemoveCall(this); } mLive = false; } else if (!mLive) { mLive = true; if (mGroup) { mGroup->AddCall(this); } else { mTelephony->AddCall(this); } mLive = true; } if (aFireEvents) { Loading