mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
75554c8b33
commit
850edd691b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user