nsPipe::nsPipe(PRUint32 segmentSize, PRUint32 maxSize, nsIAllocator* allocator, nsIPipeObserver* observer) : mBuffer(segmentSize, maxSize, allocator), mObserver(observer),
nsPipe::nsPipe() : mObserver(nsnull),
nsPipe::nsPipe(PRUint32 segmentSize, PRUint32 maxSize,               nsIAllocator* allocator, nsIPipeObserver* observer)    : mBuffer(segmentSize, maxSize, allocator),      mObserver(observer),      mReadCursor(nsnull),      mReadLimit(nsnull),      mWriteCursor(nsnull),      mWriteLimit(nsnull),      mCondition(NS_OK){    NS_INIT_REFCNT();    NS_IF_ADDREF(mObserver);}