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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user