| Index: content/browser/service_worker/service_worker_request_handler.cc
|
| diff --git a/content/browser/service_worker/service_worker_request_handler.cc b/content/browser/service_worker/service_worker_request_handler.cc
|
| index 876144ec87de69dcaf8164c448f87965b2c439e5..a3b5c21c4207739265047eeb2c652a294b542bd2 100644
|
| --- a/content/browser/service_worker/service_worker_request_handler.cc
|
| +++ b/content/browser/service_worker/service_worker_request_handler.cc
|
| @@ -21,6 +21,7 @@
|
| #include "content/public/browser/resource_context.h"
|
| #include "content/public/common/browser_side_navigation_policy.h"
|
| #include "content/public/common/child_process_host.h"
|
| +#include "content/public/common/content_features.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/origin_util.h"
|
| #include "content/public/common/resource_request_body.h"
|
| @@ -130,8 +131,7 @@ ServiceWorkerRequestHandler::InitializeForNavigationNetworkService(
|
| scoped_refptr<ResourceRequestBody> body,
|
| const base::Callback<WebContents*(void)>& web_contents_getter) {
|
| DCHECK(IsBrowserSideNavigationEnabled() &&
|
| - base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableNetworkService));
|
| + base::FeatureList::IsEnabled(features::kNetworkService));
|
| DCHECK(navigation_handle_core);
|
|
|
| // Create the handler even for insecure HTTP since it's used in the
|
|
|