Skip to content

Commit

Permalink
Backed out changeset 4cfe953fecdb (bug 1675491) for causing NetworkDa…
Browse files Browse the repository at this point in the history
…taCount crashes. CLOSED TREE
  • Loading branch information
ncsoregi committed Nov 9, 2020
1 parent a2ece00 commit a9fe7c0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 180 deletions.
143 changes: 0 additions & 143 deletions netwerk/base/NetworkDataCountLayer.cpp

This file was deleted.

26 changes: 0 additions & 26 deletions netwerk/base/NetworkDataCountLayer.h

This file was deleted.

1 change: 0 additions & 1 deletion netwerk/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ UNIFIED_SOURCES += [
"LoadInfo.cpp",
"MemoryDownloader.cpp",
"NetworkConnectivityService.cpp",
"NetworkDataCountLayer.cpp",
"nsAsyncRedirectVerifyHelper.cpp",
"nsAsyncStreamCopier.cpp",
"nsAuthInformationHolder.cpp",
Expand Down
10 changes: 0 additions & 10 deletions netwerk/base/nsSocketTransport2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include "nsIDNSRecord.h"
#include "nsIDNSByTypeRecord.h"
#include "nsICancelable.h"
#include "NetworkDataCountLayer.h"
#include "QuicSocketControl.h"
#include "TCPFastOpenLayer.h"
#include <algorithm>
Expand Down Expand Up @@ -1613,15 +1612,6 @@ nsresult nsSocketTransport::InitiateSocket() {
}
}

if (Telemetry::CanRecordPrereleaseData()) {
if (NS_FAILED(AttachNetworkDataCountLayer(fd))) {
SOCKET_LOG(
("nsSocketTransport::InitiateSocket "
"AttachNetworkDataCountLayer failed [this=%p]\n",
this));
}
}

bool connectCalled = true; // This is only needed for telemetry.
status = PR_Connect(fd, &prAddr, NS_SOCKET_CONNECT_TIMEOUT);
PRErrorCode code = PR_GetError();
Expand Down

0 comments on commit a9fe7c0

Please sign in to comment.