Chromium Code Reviews| 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..2aad486a0a863aedae4393912ebb0b4306483861 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,9 @@ 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. |
|
joth
2013/03/27 20:33:19
this comment add "see the ASSUMPTION in IsHandledP
Yaron
2013/03/27 21:18:53
Done.
|
| + if (net::URLRequest::IsHandledProtocol(scheme)) |
| return NULL; |
| return new net::URLRequestErrorJob( |