Index: components/password_manager/core/browser/password_store_factory_util.cc |
diff --git a/components/password_manager/core/browser/password_store_factory_util.cc b/components/password_manager/core/browser/password_store_factory_util.cc |
index 5f6eb805abf6dd9b93f6569ff880e8a6e54ac4f1..830f362e148435aacb44f8355dbc40b33f57495b 100644 |
--- a/components/password_manager/core/browser/password_store_factory_util.cc |
+++ b/components/password_manager/core/browser/password_store_factory_util.cc |
@@ -18,8 +18,7 @@ namespace { |
bool ShouldAffiliationBasedMatchingBeActive( |
sync_driver::SyncService* sync_service) { |
- base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
- if (!IsAffiliationBasedMatchingEnabled(*command_line)) |
+ if (!IsAffiliationBasedMatchingEnabled()) |
return false; |
return sync_service && sync_service->CanSyncStart() && |
@@ -46,8 +45,7 @@ void ActivateAffiliationBasedMatching( |
password_store->SetAffiliatedMatchHelper(std::move(affiliated_match_helper)); |
password_store->enable_propagating_password_changes_to_web_credentials( |
- IsPropagatingPasswordChangesToWebCredentialsEnabled( |
- *base::CommandLine::ForCurrentProcess())); |
+ IsPropagatingPasswordChangesToWebCredentialsEnabled()); |
} |
base::FilePath GetAffiliationDatabasePath(const base::FilePath& profile_path) { |