| Index: android_webview/browser/net/aw_url_request_job_factory.cc
|
| diff --git a/android_webview/browser/net/aw_url_request_job_factory.cc b/android_webview/browser/net/aw_url_request_job_factory.cc
|
| index c14cd17b97ac9609bc676ffb21a5e909e9aae425..3777a81b7bdb1e781b24b0e8a5f932e874a27cae 100644
|
| --- a/android_webview/browser/net/aw_url_request_job_factory.cc
|
| +++ b/android_webview/browser/net/aw_url_request_job_factory.cc
|
| @@ -47,10 +47,10 @@ URLRequestJob* AwURLRequestJobFactory::MaybeCreateJobWithProtocolHandler(
|
| if (job)
|
| return job;
|
|
|
| - // If the URLRequestJobManager supports the scheme NULL should be returned
|
| - // from this method. In that case the built in handlers in
|
| - // URLRequestJobManager will then be used to create the job.
|
| - if (net::URLRequestJobManager::GetInstance()->SupportsScheme(scheme))
|
| + // If URLRequest supports the scheme NULL should be returned from this method.
|
| + // In that case the built in handlers will then be used to create the job.
|
| + // NOTE(joth): See the assumption in IsHandledProtocol above.
|
| + if (net::URLRequest::IsHandledProtocol(scheme))
|
| return NULL;
|
|
|
| return new net::URLRequestErrorJob(
|
|
|