Bug 1210077 - Null check gNeckoChild in HttpChannelChild::ResetInterception(); r=mcmanus

This commit is contained in:
Ehsan Akhgari 2015-10-07 18:01:24 -04:00
parent 30c9e69137
commit a8f27d9556

View File

@ -2242,6 +2242,8 @@ HttpChannelChild::DivertToParent(ChannelDiverterChild **aChild)
void
HttpChannelChild::ResetInterception()
{
NS_ENSURE_TRUE_VOID(gNeckoChild != nullptr);
if (mInterceptListener) {
mInterceptListener->Cleanup();
}