Removing unused cricket::Port constructor.
Has an extra IPAddress argument that's not used at all.
TBR=qingsi@webrtc.org
Bug: None
Change-Id: If516045ab3d4edf4ac9c394dab52b3243db276ad
Reviewed-on: https://webrtc-review.googlesource.com/84061
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23646}
diff --git a/p2p/base/port.cc b/p2p/base/port.cc
index e77baf5..5007a04 100644
--- a/p2p/base/port.cc
+++ b/p2p/base/port.cc
@@ -278,15 +278,6 @@
const std::string& type,
rtc::PacketSocketFactory* factory,
rtc::Network* network,
- const rtc::IPAddress& ip,
- const std::string& username_fragment,
- const std::string& password)
- : Port(thread, type, factory, network, username_fragment, password) {}
-
-Port::Port(rtc::Thread* thread,
- const std::string& type,
- rtc::PacketSocketFactory* factory,
- rtc::Network* network,
uint16_t min_port,
uint16_t max_port,
const std::string& username_fragment,
diff --git a/p2p/base/port.h b/p2p/base/port.h
index de025e6..c3e2c14 100644
--- a/p2p/base/port.h
+++ b/p2p/base/port.h
@@ -194,14 +194,6 @@
rtc::Network* network,
const std::string& username_fragment,
const std::string& password);
- // TODO(deadbeef): Delete this constructor once clients are moved off of it.
- Port(rtc::Thread* thread,
- const std::string& type,
- rtc::PacketSocketFactory* factory,
- rtc::Network* network,
- const rtc::IPAddress& ip,
- const std::string& username_fragment,
- const std::string& password);
Port(rtc::Thread* thread,
const std::string& type,
rtc::PacketSocketFactory* factory,