Index: remoting/host/gcd_rest_client.h |
diff --git a/remoting/host/gcd_rest_client.h b/remoting/host/gcd_rest_client.h |
index e83b1fd19037b2759e20e40bccfcdfee15be781f..b59909ad45e592ff34b01d1e0c867595007a38ef 100644 |
--- a/remoting/host/gcd_rest_client.h |
+++ b/remoting/host/gcd_rest_client.h |
@@ -53,7 +53,9 @@ class GcdRestClient : public net::URLFetcherDelegate { |
void PatchState(scoped_ptr<base::DictionaryValue> patch_details, |
const GcdRestClient::ResultCallback& callback); |
- void SetClockForTest(scoped_ptr<base::Clock> clock) { clock_ = clock.Pass(); } |
+ void SetClockForTest(scoped_ptr<base::Clock> clock) { |
+ clock_ = std::move(clock); |
+ } |
private: |
void OnTokenReceived(OAuthTokenGetter::Status status, |