Index: content/browser/service_worker/service_worker_cache_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_cache_unittest.cc b/content/browser/service_worker/service_worker_cache_unittest.cc |
index 4480dba9acf3c6b1d14a8273131a925bfd9573ae..acf51a190eaf9a52b9aaf017d248237f89af7077 100644 |
--- a/content/browser/service_worker/service_worker_cache_unittest.cc |
+++ b/content/browser/service_worker/service_worker_cache_unittest.cc |
@@ -82,7 +82,7 @@ class ServiceWorkerCacheTest : public testing::Test { |
base::RunLoop().RunUntilIdle(); |
disk_cache::SimpleBackendImpl::FlushWorkerPoolForTesting(); |
base::RunLoop().RunUntilIdle(); |
- cache_.reset(); |
+ cache_ = NULL; |
base::RunLoop().RunUntilIdle(); |
disk_cache::SimpleBackendImpl::FlushWorkerPoolForTesting(); |
base::RunLoop().RunUntilIdle(); |
@@ -255,7 +255,7 @@ class ServiceWorkerCacheTest : public testing::Test { |
storage::BlobStorageContext* blob_storage_context_; |
base::ScopedTempDir temp_dir_; |
- scoped_ptr<ServiceWorkerCache> cache_; |
+ scoped_refptr<ServiceWorkerCache> cache_; |
ServiceWorkerFetchRequest body_request_; |
ServiceWorkerResponse body_response_; |