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

Unified Diff: remoting/host/heartbeat_sender.cc

Issue 7825026: Revert "Currently, base/timer.cc calls PostTask with FROM_HERE as the Location, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « net/socket/transport_client_socket_pool.cc ('k') | remoting/host/screen_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/heartbeat_sender.cc
diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc
index 182c06e838cde04dac039fb260c9b745481ba3ec..589eb312eb5f98947f3d0331201111d824b74e5c 100644
--- a/remoting/host/heartbeat_sender.cc
+++ b/remoting/host/heartbeat_sender.cc
@@ -77,7 +77,7 @@ void HeartbeatSender::OnSignallingConnected(SignalStrategy* signal_strategy,
base::Unretained(this)));
DoSendStanza();
- timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(interval_ms_), this,
+ timer_.Start(base::TimeDelta::FromMilliseconds(interval_ms_), this,
&HeartbeatSender::DoSendStanza);
}
@@ -143,8 +143,8 @@ void HeartbeatSender::SetInterval(int interval) {
// Restart the timer with the new interval.
if (state_ == STARTED) {
timer_.Stop();
- timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(interval_ms_),
- this, &HeartbeatSender::DoSendStanza);
+ timer_.Start(base::TimeDelta::FromMilliseconds(interval_ms_), this,
+ &HeartbeatSender::DoSendStanza);
}
}
}
« no previous file with comments | « net/socket/transport_client_socket_pool.cc ('k') | remoting/host/screen_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698