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

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: Created 4 years, 7 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
Index: webrtc/p2p/base/port.cc
diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc
index fbc64f2e0a784175a2f1f94ae25bac4aca3b710a..028ee80034a670052f1255942e5115cd39c90b71 100644
--- a/webrtc/p2p/base/port.cc
+++ b/webrtc/p2p/base/port.cc
@@ -668,7 +668,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(FROM_HERE, timeout_delay_, this, MSG_DEAD);
}
}
@@ -1027,7 +1027,7 @@ void Connection::Prune() {
void Connection::Destroy() {
LOG_J(LS_VERBOSE, this) << "Connection destroyed";
- port_->thread()->Post(this, MSG_DELETE);
+ port_->thread()->Post(FROM_HERE, this, MSG_DELETE);
}
void Connection::FailAndDestroy() {

Powered by Google App Engine
This is Rietveld 408576698