зеркало из https://github.com/mozilla/gecko-dev.git
Reorderd member initializers to remove silly warnings.
This commit is contained in:
Родитель
024ce49205
Коммит
f0889ec840
|
@ -57,8 +57,8 @@ nsHTTPChannel::nsHTTPChannel(nsIURI* i_URL,
|
|||
nsHTTPHandler* i_Handler):
|
||||
mURI(dont_QueryInterface(i_URL)),
|
||||
mConnected(PR_FALSE),
|
||||
mState(HS_IDLE),
|
||||
mHandler(dont_QueryInterface(i_Handler)),
|
||||
mState(HS_IDLE),
|
||||
mEventSinkGetter(dont_QueryInterface(i_EventSinkGetter)),
|
||||
mResponse(nsnull),
|
||||
mResponseDataListener(nsnull),
|
||||
|
|
|
@ -57,11 +57,11 @@ static const int kMAX_HEADER_SIZE = 60000;
|
|||
|
||||
nsHTTPResponseListener::nsHTTPResponseListener(nsHTTPChannel* aConnection):
|
||||
mConsumer(nsnull),
|
||||
mReadLength(0),
|
||||
mHeadersDone(PR_FALSE),
|
||||
mResponseContext(nsnull),
|
||||
mFirstLineParsed(PR_FALSE),
|
||||
mResponse(nsnull)
|
||||
mHeadersDone(PR_FALSE),
|
||||
mReadLength(0),
|
||||
mResponse(nsnull),
|
||||
mResponseContext(nsnull)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
||||
|
|
|
@ -52,8 +52,8 @@ NS_COM nsresult NS_NewObserverList(nsIObserverList** anObserverList)
|
|||
}
|
||||
|
||||
nsObserverList::nsObserverList()
|
||||
: mObserverList(NULL),
|
||||
mLock(nsnull)
|
||||
: mLock(nsnull),
|
||||
mObserverList(NULL)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
mLock = PR_NewLock();
|
||||
|
|
Загрузка…
Ссылка в новой задаче