Bug 836303: Remove unused fields from TransportTestPeer class, in sctp_unittest.cpp. r=ekr

This commit is contained in:
Daniel Holbert 2013-01-31 09:13:31 -08:00
parent 6a9517cba9
commit cc93f18b60

View File

@ -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_;
};