From 850edd691b732127cb21b9785338931266624141 Mon Sep 17 00:00:00 2001 From: Kershaw Chang Date: Tue, 9 May 2017 20:07:00 +0200 Subject: [PATCH] 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. --- dom/presentation/PresentationTCPSessionTransport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/presentation/PresentationTCPSessionTransport.cpp b/dom/presentation/PresentationTCPSessionTransport.cpp index 842d248dec1c..c06074386efc 100644 --- a/dom/presentation/PresentationTCPSessionTransport.cpp +++ b/dom/presentation/PresentationTCPSessionTransport.cpp @@ -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; }