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

Unified Diff: remoting/host/backoff_timer.h

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: remoting/host/backoff_timer.h
diff --git a/remoting/host/backoff_timer.h b/remoting/host/backoff_timer.h
index edd49a548bed86d2e5a806d9f8097169f9607694..a75a8d30bdf38616be69099bda8df1208f8a4705 100644
--- a/remoting/host/backoff_timer.h
+++ b/remoting/host/backoff_timer.h
@@ -31,7 +31,7 @@ class BackoffTimer {
void Stop();
// Returns true if the user task may be invoked in the future.
- bool IsRunning() const { return backoff_entry_; }
+ bool IsRunning() const { return !!backoff_entry_; }
void SetTimerForTest(scoped_ptr<base::Timer> timer);

Powered by Google App Engine
This is Rietveld 408576698