зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1716550 - Remove unnecessary 'ent' null-check. r=necko-reviewers,kershaw
The object is used earlier in the function. Differential Revision: https://phabricator.services.mozilla.com/D117897
This commit is contained in:
Родитель
2c49a89614
Коммит
eaa8bc77cc
|
@ -1012,8 +1012,7 @@ nsresult DnsAndConnectSocket::TransportSetup::SetupConn(
|
|||
RefPtr<HttpConnectionUDP> connUDP = do_QueryObject(conn);
|
||||
rv = connUDP->Init(ent->mConnInfo, mDNSRecord, status, callbacks, cap);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if (gHttpHandler->IsHttp3Enabled() && gHttpHandler->CoalesceSpdy() &&
|
||||
ent) {
|
||||
if (gHttpHandler->IsHttp3Enabled() && gHttpHandler->CoalesceSpdy()) {
|
||||
if (ent->MaybeProcessCoalescingKeys(mDNSRecord, true)) {
|
||||
gHttpHandler->ConnMgr()->ProcessSpdyPendingQ(ent);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче