Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: webrtc/p2p/base/p2ptransportchannel.cc

Issue 2019423006: Adding more detail to MessageQueue::Dispatch logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing one more place where RTC_FROM_HERE wasn't used. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/p2p/base/faketransportcontroller.h ('k') | webrtc/p2p/base/p2ptransportchannel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/p2ptransportchannel.cc
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc
index fc1f0a4e6769ee96ce28f851d0f7cbc368fbf69c..d83726eab5a5b53c1af9edbda62f93907ac5e22c 100644
--- a/webrtc/p2p/base/p2ptransportchannel.cc
+++ b/webrtc/p2p/base/p2ptransportchannel.cc
@@ -455,7 +455,7 @@ void P2PTransportChannel::Connect() {
}
// Start checking and pinging as the ports come in.
- thread()->Post(this, MSG_CHECK_AND_PING);
+ thread()->Post(RTC_FROM_HERE, this, MSG_CHECK_AND_PING);
}
void P2PTransportChannel::MaybeStartGathering() {
@@ -1058,7 +1058,7 @@ void P2PTransportChannel::UpdateConnectionStates() {
// Prepare for best candidate sorting.
void P2PTransportChannel::RequestSort() {
if (!sort_dirty_) {
- worker_thread_->Post(this, MSG_SORT);
+ worker_thread_->Post(RTC_FROM_HERE, this, MSG_SORT);
sort_dirty_ = true;
}
}
@@ -1341,7 +1341,7 @@ void P2PTransportChannel::OnCheckAndPing() {
}
}
int delay = std::min(ping_interval, check_receiving_interval_);
- thread()->PostDelayed(delay, this, MSG_CHECK_AND_PING);
+ thread()->PostDelayed(RTC_FROM_HERE, delay, this, MSG_CHECK_AND_PING);
}
// A connection is considered a backup connection if the channel state
« no previous file with comments | « webrtc/p2p/base/faketransportcontroller.h ('k') | webrtc/p2p/base/p2ptransportchannel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698