| Index: components/password_manager/core/browser/password_syncable_service.cc
|
| diff --git a/components/password_manager/core/browser/password_syncable_service.cc b/components/password_manager/core/browser/password_syncable_service.cc
|
| index ae886fa46ace878a23e5373faf7376ee2aef6f9d..61d1d40a64f1fb569d662d4bc5ea139233143a1e 100644
|
| --- a/components/password_manager/core/browser/password_syncable_service.cc
|
| +++ b/components/password_manager/core/browser/password_syncable_service.cc
|
| @@ -275,10 +275,12 @@ void PasswordSyncableService::ActOnPasswordStoreChanges(
|
| for (PasswordStoreChangeList::const_iterator it = local_changes.begin();
|
| it != local_changes.end();
|
| ++it) {
|
| + syncer::SyncData data = (it->type() == PasswordStoreChange::REMOVE ?
|
| + syncer::SyncData::CreateLocalDelete(MakePasswordSyncTag(it->form()),
|
| + syncer::PASSWORDS) :
|
| + SyncDataFromPassword(it->form()));
|
| sync_changes.push_back(
|
| - syncer::SyncChange(FROM_HERE,
|
| - GetSyncChangeType(it->type()),
|
| - SyncDataFromPassword(it->form())));
|
| + syncer::SyncChange(FROM_HERE, GetSyncChangeType(it->type()), data));
|
| }
|
| sync_processor_->ProcessSyncChanges(FROM_HERE, sync_changes);
|
| }
|
|
|