Index: content/browser/download/save_file_manager.cc |
diff --git a/content/browser/download/save_file_manager.cc b/content/browser/download/save_file_manager.cc |
index 9d57d2ed1741c63e921b1616aebacb2033753384..256ef2811375b0a4eaffbd3518fda580fdf0e5b7 100644 |
--- a/content/browser/download/save_file_manager.cc |
+++ b/content/browser/download/save_file_manager.cc |
@@ -299,7 +299,7 @@ void SaveFileManager::OnSaveURL(const GURL& url, |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
const net::URLRequestContext* request_context = context->GetRequestContext(); |
- if (!request_context->job_factory()->IsHandledURL(url)) { |
+ if (!request_context->job_factory()->IsHandledProtocol(url.scheme())) { |
mmenke
2017/03/31 04:30:04
There's a DCHECK about URL validity before calling
asanka
2017/03/31 20:38:30
Acknowledged.
|
// Since any URLs which have non-standard scheme have been filtered |
// by save manager(see GURL::SchemeIsStandard). This situation |
// should not happen. |