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

Unified Diff: webrtc/p2p/base/port.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/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/base/pseudotcp_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/port.cc
diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc
index 909843c62faae319cbec8975c201abf233d4f16d..0add358ec91392917091e957dfc39d28224be5af 100644
--- a/webrtc/p2p/base/port.cc
+++ b/webrtc/p2p/base/port.cc
@@ -708,7 +708,7 @@ void Port::OnConnectionDestroyed(Connection* conn) {
// fails and is removed before kPortTimeoutDelay, then this message will
// still cause the Port to be destroyed.
if (dead()) {
- thread_->PostDelayed(timeout_delay_, this, MSG_DEAD);
+ thread_->PostDelayed(RTC_FROM_HERE, timeout_delay_, this, MSG_DEAD);
}
}
@@ -1082,7 +1082,7 @@ void Connection::Prune() {
void Connection::Destroy() {
LOG_J(LS_VERBOSE, this) << "Connection destroyed";
- port_->thread()->Post(this, MSG_DELETE);
+ port_->thread()->Post(RTC_FROM_HERE, this, MSG_DELETE);
}
void Connection::FailAndDestroy() {
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/base/pseudotcp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698