Index: chrome/browser/sync/glue/password_change_processor.cc |
diff --git a/chrome/browser/sync/glue/password_change_processor.cc b/chrome/browser/sync/glue/password_change_processor.cc |
index 57a377de88c4739705492d06c4aa2f6b00d57d96..a8afd7069e6d4e5e4c5bcdf101614dba07a4a837 100644 |
--- a/chrome/browser/sync/glue/password_change_processor.cc |
+++ b/chrome/browser/sync/glue/password_change_processor.cc |
@@ -69,7 +69,7 @@ void PasswordChangeProcessor::Observe(NotificationType type, |
switch (change->type()) { |
case PasswordStoreChange::ADD: { |
sync_api::WriteNode sync_node(&trans); |
- if (!sync_node.InitUniqueByCreation(syncable::PASSWORD, |
+ if (!sync_node.InitUniqueByCreation(syncable::PASSWORDS, |
password_root, tag)) { |
LOG(ERROR) << "Failed to create password sync node."; |
error_handler()->OnUnrecoverableError(); |
@@ -151,7 +151,7 @@ void PasswordChangeProcessor::ApplyChangesFromSyncModel( |
// Check that the changed node is a child of the passwords folder. |
DCHECK(password_root.GetId() == sync_node.GetParentId()); |
- DCHECK(syncable::PASSWORD == sync_node.GetModelType()); |
+ DCHECK(syncable::PASSWORDS == sync_node.GetModelType()); |
sync_pb::PasswordSpecificsData password_data; |
if (!sync_node.GetPasswordSpecifics(&password_data)) { |