Index: chrome/browser/chromeos/contacts/fake_contact_database.cc |
diff --git a/chrome/browser/chromeos/contacts/fake_contact_database.cc b/chrome/browser/chromeos/contacts/fake_contact_database.cc |
index a6e8b52d8db3913d1579d6b72d2b67efaee77c80..6cd314c3f549956b5c8c337fda76e80911edc99a 100644 |
--- a/chrome/browser/chromeos/contacts/fake_contact_database.cc |
+++ b/chrome/browser/chromeos/contacts/fake_contact_database.cc |
@@ -76,7 +76,7 @@ void FakeContactDatabase::MergeContacts( |
for (ScopedVector<Contact>::const_iterator existing_it = contacts_.begin(); |
existing_it != contacts_.end(); ++existing_it) { |
Contact* existing_contact = *existing_it; |
- if (existing_contact->provider_id() == updated_contact.provider_id()) { |
+ if (existing_contact->contact_id() == updated_contact.contact_id()) { |
*existing_contact = updated_contact; |
found = true; |
break; |