Stop using ResourceContext::GetHostResolver()

https://chromium-review.googlesource.com/c/chromium/src/+/1135366
This commit is contained in:
Jeremy Apthorp 2018-10-04 16:23:24 -07:00
parent 6df9c04270
commit c920e453dc

View file

@ -207,12 +207,6 @@ class ResourceContext : public content::ResourceContext {
ResourceContext() = default;
~ResourceContext() override = default;
net::HostResolver* GetHostResolver() override {
if (request_context_)
return request_context_->host_resolver();
return nullptr;
}
net::URLRequestContext* GetRequestContext() override {
return request_context_;
}