| 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
|
|
|