Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 920bb03ca2e2cee8ab0611c04ff96283111bc7e5..d11d49c8c55b9bd320157974097764690438454d 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -142,8 +142,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
WebRuntimeFeatures::enableNetworkInformation(true); |
} |
- if (command_line.HasSwitch(switches::kEnableCredentialManagerAPI)) |
- WebRuntimeFeatures::enableCredentialManagerAPI(true); |
+ if (!base::FeatureList::IsEnabled(features::kCredentialManagementAPI)) |
+ WebRuntimeFeatures::enableCredentialManagerAPI(false); |
if (command_line.HasSwitch(switches::kReducedReferrerGranularity)) |
WebRuntimeFeatures::enableReducedReferrerGranularity(true); |