Index: chrome/browser/sync/profile_sync_factory_impl.cc |
diff --git a/chrome/browser/sync/profile_sync_factory_impl.cc b/chrome/browser/sync/profile_sync_factory_impl.cc |
index ed8f429aaa3a3a22e16b02edf7fba7eaf442500f..2585f7191749eeb63317ee0a0dff174fa77180fb 100644 |
--- a/chrome/browser/sync/profile_sync_factory_impl.cc |
+++ b/chrome/browser/sync/profile_sync_factory_impl.cc |
@@ -111,7 +111,7 @@ ProfileSyncService* ProfileSyncFactoryImpl::CreateProfileSyncService( |
// Password sync is disabled by default. Register only if |
// explicitly enabled. |
- if (command_line_->HasSwitch(switches::kEnableSyncPasswords)) { |
+ if (!command_line_->HasSwitch(switches::kDisableSyncPasswords)) { |
pss->RegisterDataTypeController( |
new PasswordDataTypeController(this, profile_, pss)); |
} |