Bug 906986 - Removed an assert missed during cleanup.
MozReview-Commit-ID: 39W59DrsWtZ
--- a/media/mtransport/nricectxhandler.cpp
+++ b/media/mtransport/nricectxhandler.cpp
@@ -109,20 +109,20 @@ NrIceCtxHandler::BeginIceRestart(const s
RefPtr<NrIceCtxHandler> new_ctx = new NrIceCtxHandler(name_, offerer_, policy_);
// reconstitute the hide_non_default bool based on the flags stored in the
// original ctx flags
bool hide_non_default = ctx_->flags & NR_ICE_CTX_FLAGS_ONLY_DEFAULT_ADDRS;
SwapContextData(*new_ctx, *this);
- MOZ_ASSERT(NrIceCtx::Initialize(this,
- hide_non_default,
- ufrag,
- pwd));
+ NrIceCtx::Initialize(this,
+ hide_non_default,
+ ufrag,
+ pwd);
++restart_count;
restart_ctx = new_ctx;
}
void
NrIceCtxHandler::FinalizeIceRestart()