mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 836303: Remove unused fields from TransportTestPeer class, in sctp_unittest.cpp. r=ekr
This commit is contained in:
parent
0b130466ed
commit
a2b7c5d7b6
@ -67,8 +67,6 @@ class TransportTestPeer : public sigslot::has_slots<> {
|
||||
sent_(0), received_(0),
|
||||
flow_(new TransportFlow()),
|
||||
loopback_(new TransportLayerLoopback()),
|
||||
peer_(nullptr),
|
||||
gathering_complete_(false),
|
||||
sctp_(usrsctp_socket(AF_CONN, SOCK_STREAM, IPPROTO_SCTP, receive_cb, nullptr, 0, nullptr)),
|
||||
timer_(do_CreateInstance(NS_TIMER_CONTRACTID)),
|
||||
periodic_(nullptr) {
|
||||
@ -263,13 +261,10 @@ class TransportTestPeer : public sigslot::has_slots<> {
|
||||
size_t received_;
|
||||
mozilla::RefPtr<TransportFlow> flow_;
|
||||
TransportLayerLoopback *loopback_;
|
||||
TransportTestPeer *peer_;
|
||||
|
||||
struct sockaddr_conn local_addr_;
|
||||
struct sockaddr_conn remote_addr_;
|
||||
bool gathering_complete_;
|
||||
struct socket *sctp_;
|
||||
size_t to_send_;
|
||||
nsCOMPtr<nsITimer> timer_;
|
||||
nsRefPtr<SendPeriodic> periodic_;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user