diff --git a/atom/browser/net/system_network_context_manager.cc b/atom/browser/net/system_network_context_manager.cc index eac424117fcc..3882a213ad2d 100644 --- a/atom/browser/net/system_network_context_manager.cc +++ b/atom/browser/net/system_network_context_manager.cc @@ -249,8 +249,6 @@ SystemNetworkContextManager::CreateNetworkContextParams() { network_context_params->http_cache_enabled = false; - if (!base::FeatureList::IsEnabled(network::features::kNetworkService)) - network_context_params->enable_file_url_support = true; #if !BUILDFLAG(DISABLE_FTP_SUPPORT) network_context_params->enable_ftp_url_support = true; #endif diff --git a/atom/browser/net/url_request_context_getter.cc b/atom/browser/net/url_request_context_getter.cc index d36b1cc9ef37..3c582562178c 100644 --- a/atom/browser/net/url_request_context_getter.cc +++ b/atom/browser/net/url_request_context_getter.cc @@ -156,8 +156,6 @@ URLRequestContextGetter::Handle::CreateNetworkContextParams() { net::HttpUtil::GenerateAcceptLanguageHeader( AtomBrowserClient::Get()->GetApplicationLocale()); - network_context_params->enable_data_url_support = false; - if (!browser_context_->IsOffTheRecord()) { auto base_path = browser_context_->GetPath(); network_context_params->http_cache_path =