| Index: webrtc/api/jsepicecandidate.cc
|
| diff --git a/webrtc/api/jsepicecandidate.cc b/webrtc/api/jsepicecandidate.cc
|
| index cced1b4d6a51b68c657ada0d5b29189cd7104174..2aabcb83498ead96000f9624b423a21102516bfb 100644
|
| --- a/webrtc/api/jsepicecandidate.cc
|
| +++ b/webrtc/api/jsepicecandidate.cc
|
| @@ -79,17 +79,4 @@
|
| return ret;
|
| }
|
|
|
| -size_t JsepCandidateCollection::remove(const cricket::Candidate& candidate) {
|
| - auto iter = std::find_if(candidates_.begin(), candidates_.end(),
|
| - [candidate](JsepIceCandidate* c) {
|
| - return candidate.MatchesForRemoval(c->candidate());
|
| - });
|
| - if (iter != candidates_.end()) {
|
| - delete *iter;
|
| - candidates_.erase(iter);
|
| - return 1;
|
| - }
|
| - return 0;
|
| -}
|
| -
|
| } // namespace webrtc
|
|
|