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

Unified Diff: remoting/host/backoff_timer.h

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
Patch Set: include <utility> Created 5 years 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 | « remoting/host/audio_pump_unittest.cc ('k') | remoting/host/backoff_timer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/backoff_timer.h
diff --git a/remoting/host/backoff_timer.h b/remoting/host/backoff_timer.h
index d691cb47dac098358b69bea8ea1a05dcb3b2830b..edd49a548bed86d2e5a806d9f8097169f9607694 100644
--- a/remoting/host/backoff_timer.h
+++ b/remoting/host/backoff_timer.h
@@ -33,7 +33,7 @@ class BackoffTimer {
// Returns true if the user task may be invoked in the future.
bool IsRunning() const { return backoff_entry_; }
- void SetTimerForTest(scoped_ptr<base::Timer> timer) { timer_ = timer.Pass(); }
+ void SetTimerForTest(scoped_ptr<base::Timer> timer);
private:
void StartTimer();
« no previous file with comments | « remoting/host/audio_pump_unittest.cc ('k') | remoting/host/backoff_timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698