Index: content/browser/service_manager/service_manager_context.cc |
diff --git a/content/browser/service_manager/service_manager_context.cc b/content/browser/service_manager/service_manager_context.cc |
index eee0ac94ec098ba3ed1bd19c6332bc49882cdb96..49093c3f70942c11af109e143ecc6632fad48995 100644 |
--- a/content/browser/service_manager/service_manager_context.cc |
+++ b/content/browser/service_manager/service_manager_context.cc |
@@ -31,6 +31,7 @@ |
#include "content/public/browser/utility_process_host.h" |
#include "content/public/browser/utility_process_host_client.h" |
#include "content/public/common/content_client.h" |
+#include "content/public/common/content_features.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/service_manager_connection.h" |
#include "content/public/common/service_names.mojom.h" |
@@ -360,8 +361,7 @@ ServiceManagerContext::ServiceManagerContext() { |
->RegisterUnsandboxedOutOfProcessServices(&unsandboxed_services); |
bool network_service_enabled = |
- base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableNetworkService); |
+ base::FeatureList::IsEnabled(features::kNetworkService); |
if (network_service_enabled) { |
unsandboxed_services.insert( |
std::make_pair(content::mojom::kNetworkServiceName, |