bug 795082 http remove dead or redundant code r=honzab

--HG--
extra : rebase_source : 7dbaffae0670fb71ef8baa29a9884f63edfa2488
This commit is contained in:
Patrick McManus 2012-10-01 20:10:08 -04:00
parent baeb136797
commit ab1f97f31d
4 changed files with 1 additions and 10 deletions

View File

@ -1459,12 +1459,6 @@ SpdySession3::ReadSegments(nsAHttpSegmentReader *reader,
LOG3(("SpdySession3::ReadSegments %p", this));
NS_ABORT_IF_FALSE(!mSegmentReader || !reader || (mSegmentReader == reader),
"Inconsistent Write Function Callback");
if (reader)
mSegmentReader = reader;
SpdyStream3 *stream = static_cast<SpdyStream3 *>(mReadyForWrite.PopFront());
if (!stream) {
LOG3(("SpdySession3 %p could not identify a stream to write; suspending.",

View File

@ -83,7 +83,6 @@ public:
uint32_t TimeToLive();
void DontReuse();
void DropTransport() { DontReuse(); mSocketTransport = 0; }
bool IsProxyConnectInProgress()
{

View File

@ -53,8 +53,7 @@ InsertTransactionSorted(nsTArray<nsHttpTransaction*> &pendingQ, nsHttpTransactio
//-----------------------------------------------------------------------------
nsHttpConnectionMgr::nsHttpConnectionMgr()
: mRef(0)
, mReentrantMonitor("nsHttpConnectionMgr.mReentrantMonitor")
: mReentrantMonitor("nsHttpConnectionMgr.mReentrantMonitor")
, mMaxConns(0)
, mMaxPersistConnsPerHost(0)
, mMaxPersistConnsPerProxy(0)

View File

@ -437,7 +437,6 @@ private:
// NOTE: these members may be accessed from any thread (use mReentrantMonitor)
//-------------------------------------------------------------------------
int32_t mRef;
mozilla::ReentrantMonitor mReentrantMonitor;
nsCOMPtr<nsIEventTarget> mSocketThreadTarget;