From 15ac52109f42ef585f9f8e9a3be12a4bcdd22c75 Mon Sep 17 00:00:00 2001 From: Taylor Brandstetter Date: Mon, 18 Jun 2018 13:47:06 -0700 Subject: [PATCH] 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 Commit-Queue: Taylor Brandstetter Cr-Commit-Position: refs/heads/master@{#23646} --- p2p/base/port.cc | 9 --------- p2p/base/port.h | 8 -------- 2 files changed, 17 deletions(-) diff --git a/p2p/base/port.cc b/p2p/base/port.cc index e77baf5256..5007a04701 100644 --- a/p2p/base/port.cc +++ b/p2p/base/port.cc @@ -274,15 +274,6 @@ Port::Port(rtc::Thread* thread, Construct(); } -Port::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(thread, type, factory, network, username_fragment, password) {} - Port::Port(rtc::Thread* thread, const std::string& type, rtc::PacketSocketFactory* factory, diff --git a/p2p/base/port.h b/p2p/base/port.h index de025e6fc0..c3e2c14fe8 100644 --- a/p2p/base/port.h +++ b/p2p/base/port.h @@ -194,14 +194,6 @@ class Port : public PortInterface, public rtc::MessageHandler, 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,