Index: net/proxy/proxy_resolver_js_bindings.cc |
diff --git a/net/proxy/proxy_resolver_js_bindings.cc b/net/proxy/proxy_resolver_js_bindings.cc |
index d849a24efd368de3ab5f91745177eebbc88b3392..84dcafda4dca6f680f2c79086c264c9b5ead1457 100644 |
--- a/net/proxy/proxy_resolver_js_bindings.cc |
+++ b/net/proxy/proxy_resolver_js_bindings.cc |
@@ -230,7 +230,7 @@ class DefaultJSBindings : public ProxyResolverJSBindings { |
// Save the result back to the per-request DNS cache. |
if (host_cache) { |
- host_cache->Set(cache_key, result, *address_list, |
+ host_cache->Set(cache_key, HostCache::Entry(result, *address_list), |
base::TimeTicks::Now(), |
base::TimeDelta::FromSeconds(kCacheEntryTTLSeconds)); |
} |