Bug 1326423 - Fix assertion for optimized build. r=baku

MozReview-Commit-ID: By3J4RLnJHn
This commit is contained in:
Wei-Cheng Pan 2017-01-04 14:40:56 +08:00
parent fb87db0768
commit 58bdfee137

View File

@ -495,7 +495,8 @@ NeckoParent::RecvPDataChannelConstructor(PDataChannelParent* actor,
const uint32_t& channelId)
{
DataChannelParent* p = static_cast<DataChannelParent*>(actor);
MOZ_DIAGNOSTIC_ASSERT(p->Init(channelId));
DebugOnly<bool> rv = p->Init(channelId);
MOZ_ASSERT(rv);
return IPC_OK();
}