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 a9ebba0e74
commit cf8826ad55

View File

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