diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 14d13877f66f..8e29d52ec537 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -1085,7 +1085,7 @@ void WebContents::DownloadURL(const GURL& url) { download_manager->DownloadUrl( content::DownloadUrlParameters::CreateForWebContentsMainFrame( - web_contents(), url)); + web_contents(), url, NO_TRAFFIC_ANNOTATION_YET)); } GURL WebContents::GetURL() const { diff --git a/atom/browser/atom_resource_dispatcher_host_delegate.cc b/atom/browser/atom_resource_dispatcher_host_delegate.cc index 653d81ee463c..7cb8f718112c 100644 --- a/atom/browser/atom_resource_dispatcher_host_delegate.cc +++ b/atom/browser/atom_resource_dispatcher_host_delegate.cc @@ -81,7 +81,7 @@ void OnPdfResourceIntercepted( download_manager->DownloadUrl( content::DownloadUrlParameters::CreateForWebContentsMainFrame( - web_contents, original_url)); + web_contents, original_url, NO_TRAFFIC_ANNOTATION_YET)); return; }