Chromium Code Reviews| Index: components/policy/core/common/cloud/cloud_policy_client_unittest.cc |
| diff --git a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc |
| index e9976048921ece2697114b953a5d96c15235b7fa..1a5c9c80000e42e7bc8379439be4e5a35b7b52b6 100644 |
| --- a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc |
| +++ b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc |
| @@ -204,8 +204,8 @@ class CloudPolicyClientTest : public testing::Test { |
| StrictMock<MockCloudPolicyClientObserver> observer_; |
| StrictMock<MockUploadCertificateObserver> upload_certificate_observer_; |
| scoped_ptr<CloudPolicyClient> client_; |
| - // Cached weak pointer to the client's request context. |
| - net::URLRequestContextGetter* request_context_; |
| + // Pointer to the client's request context. |
| + scoped_refptr<net::URLRequestContextGetter> request_context_; |
|
bartfab (slow)
2014/08/29 09:42:38
Nit: #include "base/memory/ref_counted.h"
dcheng
2014/08/29 09:56:37
Done.
|
| }; |
| TEST_F(CloudPolicyClientTest, Init) { |