diff options
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r-- | src/core/web_engine_context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index e84844fdb..08e7f2b41 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -541,8 +541,8 @@ WebEngineContext::WebEngineContext() appendToFeatureList(disableFeatures, features::kMojoVideoCapture.name); // We do not yet fully support the network-service, but it has been enabled by default since 75. - bool enableNetworkService = parsedCommandLine->HasSwitch("enable-network-service"); - parsedCommandLine->RemoveSwitch("enable-network-service"); + bool enableNetworkService = !parsedCommandLine->HasSwitch("disable-network-service"); + parsedCommandLine->RemoveSwitch("disable-network-service"); if (!enableNetworkService) appendToFeatureList(disableFeatures, network::features::kNetworkService.name); |