Index: net/http/http_cache_unittest.cc |
diff --git a/net/http/http_cache_unittest.cc b/net/http/http_cache_unittest.cc |
index 31d50c95e89b4fa0801a53bbfd1bf334f19b9dc0..37e53346f425a4ee8b44a03ca78d818133cea30f 100644 |
--- a/net/http/http_cache_unittest.cc |
+++ b/net/http/http_cache_unittest.cc |
@@ -1924,12 +1924,12 @@ TEST(HttpCache, DeleteCacheWaitingForBackend) { |
// We cannot call FinishCreation because the factory itself will go away with |
// the cache, so grab the callback and attempt to use it. |
net::CompletionCallback callback = factory->callback(); |
- disk_cache::Backend** backend = factory->backend(); |
+ scoped_ptr<disk_cache::Backend>* backend = factory->backend(); |
cache.reset(); |
base::MessageLoop::current()->RunUntilIdle(); |
- *backend = NULL; |
+ backend->reset(); |
callback.Run(net::ERR_ABORTED); |
} |