Index: chrome/browser/safe_browsing/malware_details_unittest.cc |
diff --git a/chrome/browser/safe_browsing/malware_details_unittest.cc b/chrome/browser/safe_browsing/malware_details_unittest.cc |
index 073198013e7161d651e88385e6a0380805a7811c..639b1667bf1f9dca6e6d52866b7406c0a26a461d 100644 |
--- a/chrome/browser/safe_browsing/malware_details_unittest.cc |
+++ b/chrome/browser/safe_browsing/malware_details_unittest.cc |
@@ -106,11 +106,11 @@ void WriteToEntry(disk_cache::Backend* cache, const std::string key, |
} |
void FillCache(net::URLRequestContextGetter* context_getter) { |
- TestOldCompletionCallback cb; |
+ net::TestCompletionCallback cb; |
disk_cache::Backend* cache; |
int rv = |
context_getter->GetURLRequestContext()->http_transaction_factory()-> |
- GetCache()->GetBackend(&cache, &cb); |
+ GetCache()->GetBackend(&cache, cb.callback()); |
ASSERT_EQ(net::OK, cb.GetResult(rv)); |
std::string empty; |