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

Unified Diff: remoting/host/backoff_timer.cc

Issue 2837863004: Use base::OneShotTimer instead of base::Timer(false, false)
Patch Set: rebase Created 3 years, 8 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/websockets/websocket_stream_create_test_base.cc ('k') | remoting/host/mouse_shape_pump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/backoff_timer.cc
diff --git a/remoting/host/backoff_timer.cc b/remoting/host/backoff_timer.cc
index 1df5559216a71a8724582fe9cee8c05c74f27268..3a3472d6b95725d1c4911f4d728b3b5ef896c52b 100644
--- a/remoting/host/backoff_timer.cc
+++ b/remoting/host/backoff_timer.cc
@@ -8,7 +8,7 @@
namespace remoting {
-BackoffTimer::BackoffTimer() : timer_(new base::Timer(false, false)) {}
+BackoffTimer::BackoffTimer() : timer_(new base::OneShotTimer) {}
BackoffTimer::~BackoffTimer() {}
« no previous file with comments | « net/websockets/websocket_stream_create_test_base.cc ('k') | remoting/host/mouse_shape_pump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698