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

Unified Diff: remoting/host/gcd_rest_client.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/gcd_rest_client.h
diff --git a/remoting/host/gcd_rest_client.h b/remoting/host/gcd_rest_client.h
index 23263f217147caec35b44e4f5acedf5d9d08f7ad..40c6d0be89174686a595afaae3830dcfcbd14d90 100644
--- a/remoting/host/gcd_rest_client.h
+++ b/remoting/host/gcd_rest_client.h
@@ -45,7 +45,7 @@ class GcdRestClient : public net::URLFetcherDelegate {
// Tests whether is object is currently running a request. Only one
// request at a time may be pending.
- bool HasPendingRequest() { return url_fetcher_; }
+ bool HasPendingRequest() { return !!url_fetcher_; }
// Sends a 'patchState' request to the GCD API. Constructs and
// sends an appropriate JSON message M where |patch_details| becomes

Powered by Google App Engine
This is Rietveld 408576698