Bug 1352176 - Part5: Pass a null event target, r=schien

We need to pass an event target when calling nsInputStreamPump::Init. However, both these two files are only be used in parent process, so passing a null target should be fine.
This commit is contained in:
Kershaw Chang 2017-05-09 20:07:00 +02:00
parent 75554c8b33
commit 850edd691b

View File

@ -282,7 +282,7 @@ PresentationTCPSessionTransport::CreateInputStreamPump()
return rv;
}
rv = mInputStreamPump->Init(mSocketInputStream, -1, -1, 0, 0, false);
rv = mInputStreamPump->Init(mSocketInputStream, -1, -1, 0, 0, false, nullptr);
if (NS_WARN_IF(NS_FAILED(rv))) {
return rv;
}