| Index: webrtc/p2p/base/p2ptransportchannel.cc
|
| diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc
|
| index 3ac291fa1f5481e5863cca20b5aadaf871aee5fe..a39ad93d5af22907b40f753af26b680ef5f814bf 100644
|
| --- a/webrtc/p2p/base/p2ptransportchannel.cc
|
| +++ b/webrtc/p2p/base/p2ptransportchannel.cc
|
| @@ -605,14 +605,7 @@ void P2PTransportChannel::OnUnknownAddress(
|
| << (remote_candidate_is_new ? "peer reflexive" : "resurrected")
|
| << " candidate: " << remote_candidate.ToString();
|
| AddConnection(connection);
|
| - connection->ReceivedPing();
|
| -
|
| - bool received_use_candidate =
|
| - stun_msg->GetByteString(STUN_ATTR_USE_CANDIDATE) != nullptr;
|
| - if (received_use_candidate && ice_role_ == ICEROLE_CONTROLLED) {
|
| - connection->set_nominated(true);
|
| - OnNominated(connection);
|
| - }
|
| + connection->HandleBindingRequest(stun_msg);
|
|
|
| // Update the list of connections since we just added another. We do this
|
| // after sending the response since it could (in principle) delete the
|
|
|