зеркало из https://github.com/mozilla/gecko-dev.git
Bug 623948 followup: Fix gcc 4.5 build error by explicitly extracting pointer from nsRefPtr in 2 LOG lines. r=ehsan
This commit is contained in:
Родитель
d0cfebcda0
Коммит
9fb06efc8b
|
@ -1409,7 +1409,7 @@ nsHalfOpenSocket::OnOutputStreamReady(nsIAsyncOutputStream *out)
|
|||
// assign the new socket to the http connection
|
||||
nsRefPtr<nsHttpConnection> conn = new nsHttpConnection();
|
||||
LOG(("nsHalfOpenSocket::OnOutputStreamReady "
|
||||
"Created new nshttpconnection %p\n", conn));
|
||||
"Created new nshttpconnection %p\n", conn.get()));
|
||||
|
||||
nsCOMPtr<nsIInterfaceRequestor> callbacks;
|
||||
nsCOMPtr<nsIEventTarget> callbackTarget;
|
||||
|
@ -1440,7 +1440,7 @@ nsHalfOpenSocket::OnOutputStreamReady(nsIAsyncOutputStream *out)
|
|||
|
||||
if (NS_FAILED(rv)) {
|
||||
LOG(("nsHalfOpenSocket::OnOutputStreamReady "
|
||||
"conn->init (%p) failed %x\n", conn, rv));
|
||||
"conn->init (%p) failed %x\n", conn.get(), rv));
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче