| Index: chrome/browser/automation/url_request_automation_job.cc
|
| diff --git a/chrome/browser/automation/url_request_automation_job.cc b/chrome/browser/automation/url_request_automation_job.cc
|
| index 95e40dc8cb5bdbfa7f0f29b488fb72ea4187f382..c232bbdb4ae68bf70d491642e954278202f29d23 100644
|
| --- a/chrome/browser/automation/url_request_automation_job.cc
|
| +++ b/chrome/browser/automation/url_request_automation_job.cc
|
| @@ -81,10 +81,10 @@ bool URLRequestAutomationJob::EnsureProtocolFactoryRegistered() {
|
|
|
| if (!is_protocol_factory_registered_) {
|
| old_http_factory_ =
|
| - net::URLRequest::RegisterProtocolFactory(
|
| + net::URLRequest::Deprecated::RegisterProtocolFactory(
|
| "http", &URLRequestAutomationJob::Factory);
|
| old_https_factory_ =
|
| - net::URLRequest::RegisterProtocolFactory(
|
| + net::URLRequest::Deprecated::RegisterProtocolFactory(
|
| "https", &URLRequestAutomationJob::Factory);
|
| is_protocol_factory_registered_ = true;
|
| }
|
|
|