| Index: net/http/http_cache_unittest.cc
|
| ===================================================================
|
| --- net/http/http_cache_unittest.cc (revision 56971)
|
| +++ net/http/http_cache_unittest.cc (working copy)
|
| @@ -667,6 +667,7 @@
|
| }
|
| }
|
|
|
| + disk_cache::Backend** backend() { return backend_; }
|
| void set_fail(bool fail) { fail_ = fail; }
|
|
|
| net::CompletionCallback* callback() { return callback_; }
|
| @@ -2019,10 +2020,12 @@
|
| // 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();
|
|
|
| cache.reset();
|
| MessageLoop::current()->RunAllPending();
|
|
|
| + *backend = NULL;
|
| callback->Run(net::ERR_ABORTED);
|
| }
|
|
|
|
|