From 95e7380573b45690b9f64aa77204167b73c875cf Mon Sep 17 00:00:00 2001 From: "bruce%cybersight.com" Date: Tue, 4 Apr 2000 04:16:07 +0000 Subject: [PATCH] Fixing nsByteArrayInputStream's QueryInterface() to be correct. Need this for a leak fix coming up shortly. r=scc git-svn-id: svn://10.0.0.236/trunk@65136 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsByteArrayInputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsByteArrayInputStream.cpp b/mozilla/xpcom/io/nsByteArrayInputStream.cpp index 303de0f7f25..fb834d47588 100644 --- a/mozilla/xpcom/io/nsByteArrayInputStream.cpp +++ b/mozilla/xpcom/io/nsByteArrayInputStream.cpp @@ -22,7 +22,7 @@ #include "nsByteArrayInputStream.h" #include "nsIAllocator.h" -NS_IMPL_THREADSAFE_ISUPPORTS2(nsByteArrayInputStream, nsIInputStream, nsIBaseStream) +NS_IMPL_THREADSAFE_ISUPPORTS3(nsByteArrayInputStream, nsIInputStream, nsIBaseStream, nsIByteArrayInputStream) nsByteArrayInputStream::nsByteArrayInputStream (char *buffer, PRUint32 bytes) : _buffer (buffer), _nbytes (bytes), _pos (0)