summaryrefslogtreecommitdiffstats
path: root/xpcom/io/SlicedInputStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/io/SlicedInputStream.cpp')
-rw-r--r--xpcom/io/SlicedInputStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpcom/io/SlicedInputStream.cpp b/xpcom/io/SlicedInputStream.cpp
index 0b45f67b0e..c64af8e9dd 100644
--- a/xpcom/io/SlicedInputStream.cpp
+++ b/xpcom/io/SlicedInputStream.cpp
@@ -464,7 +464,7 @@ void SlicedInputStream::Serialize(mozilla::ipc::InputStreamParams& aParams,
uint32_t sizeUsed = 0, pipes = 0, transferables = 0;
SerializedComplexity(aMaxSize, &sizeUsed, &pipes, &transferables);
if (pipes > 0 && transferables == 0) {
- InputStreamHelper::SerializeInputStreamAsPipe(mInputStream, aParams);
+ InputStreamHelper::SerializeInputStreamAsPipe(this, aParams);
return;
}