| Index: net/http/http_cache.h
|
| diff --git a/net/http/http_cache.h b/net/http/http_cache.h
|
| index 00b3954fb083db79c6b9becd6e2825258f99b6db..8893884ce58fbcb4df8cd94c30fe2a8e7c808ea0 100644
|
| --- a/net/http/http_cache.h
|
| +++ b/net/http/http_cache.h
|
| @@ -181,7 +181,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
|
|
|
| // Get/Set the cache's clock. These are public only for testing.
|
| void SetClockForTesting(std::unique_ptr<base::Clock> clock) {
|
| - clock_.reset(clock.release());
|
| + clock_ = std::move(clock);
|
| }
|
| base::Clock* clock() const { return clock_.get(); }
|
|
|
|
|