| Index: webrtc/p2p/base/p2ptransportchannel_unittest.cc
|
| diff --git a/webrtc/p2p/base/p2ptransportchannel_unittest.cc b/webrtc/p2p/base/p2ptransportchannel_unittest.cc
|
| index 54ab3196cbc2281c66b15680138446c60f98b40a..4d62b20e2df9f669a2d8b2b8f06a3ae9101551a4 100644
|
| --- a/webrtc/p2p/base/p2ptransportchannel_unittest.cc
|
| +++ b/webrtc/p2p/base/p2ptransportchannel_unittest.cc
|
| @@ -663,7 +663,8 @@ class P2PTransportChannelTestBase : public testing::Test,
|
| if (GetEndpoint(ch)->save_candidates_) {
|
| GetEndpoint(ch)->saved_candidates_.push_back(new CandidatesData(ch, c));
|
| } else {
|
| - main_->Post(this, MSG_ADD_CANDIDATES, new CandidatesData(ch, c));
|
| + main_->Post(FROM_HERE, this, MSG_ADD_CANDIDATES,
|
| + new CandidatesData(ch, c));
|
| }
|
| }
|
|
|
| @@ -675,7 +676,7 @@ class P2PTransportChannelTestBase : public testing::Test,
|
| const std::vector<cricket::Candidate>& candidates) {
|
| // Candidate removals are not paused.
|
| CandidatesData* candidates_data = new CandidatesData(ch, candidates);
|
| - main_->Post(this, MSG_REMOVE_CANDIDATES, candidates_data);
|
| + main_->Post(FROM_HERE, this, MSG_REMOVE_CANDIDATES, candidates_data);
|
| }
|
|
|
| // Tcp candidate verification has to be done when they are generated.
|
| @@ -699,7 +700,7 @@ class P2PTransportChannelTestBase : public testing::Test,
|
| Endpoint* ed = GetEndpoint(endpoint);
|
| std::vector<CandidatesData*>::iterator it = ed->saved_candidates_.begin();
|
| for (; it != ed->saved_candidates_.end(); ++it) {
|
| - main_->Post(this, MSG_ADD_CANDIDATES, *it);
|
| + main_->Post(FROM_HERE, this, MSG_ADD_CANDIDATES, *it);
|
| }
|
| ed->saved_candidates_.clear();
|
| ed->save_candidates_ = false;
|
|
|