summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/stress_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/stress_cache.cc')
-rw-r--r--net/disk_cache/stress_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index f5c7880..db84fd8 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -134,7 +134,8 @@ void StressTheCache(int iteration) {
if (rand() % 100 > 80) {
key = rand() % kNumKeys;
- cache->DoomEntry(keys[key]);
+ rv = cache->DoomEntry(keys[key], &cb);
+ cb.GetResult(rv);
}
if (!(i % 100))