Stop using ResourceContext::GetHostResolver()
https://chromium-review.googlesource.com/c/chromium/src/+/1135366
This commit is contained in:
parent
6df9c04270
commit
c920e453dc
1 changed files with 0 additions and 6 deletions
|
@ -207,12 +207,6 @@ class ResourceContext : public content::ResourceContext {
|
||||||
ResourceContext() = default;
|
ResourceContext() = default;
|
||||||
~ResourceContext() override = default;
|
~ResourceContext() override = default;
|
||||||
|
|
||||||
net::HostResolver* GetHostResolver() override {
|
|
||||||
if (request_context_)
|
|
||||||
return request_context_->host_resolver();
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
net::URLRequestContext* GetRequestContext() override {
|
net::URLRequestContext* GetRequestContext() override {
|
||||||
return request_context_;
|
return request_context_;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue