| Index: chrome/browser/chromeos/contacts/fake_contact_store.cc
|
| diff --git a/chrome/browser/chromeos/contacts/fake_contact_store.cc b/chrome/browser/chromeos/contacts/fake_contact_store.cc
|
| index f61f6bd9a2428288218744d71d6f01bd77cd1fb2..68a1bd1bbbd3ee177c6550d5edd083d0f7b21b2d 100644
|
| --- a/chrome/browser/chromeos/contacts/fake_contact_store.cc
|
| +++ b/chrome/browser/chromeos/contacts/fake_contact_store.cc
|
| @@ -78,7 +78,8 @@ FakeContactStoreFactory::~FakeContactStoreFactory() {
|
| FakeContactStore* FakeContactStoreFactory::GetContactStoreForProfile(
|
| Profile* profile) {
|
| CHECK(profile);
|
| - return stores_[profile];
|
| + ProfileStoreMap::const_iterator it = stores_.find(profile);
|
| + return it != stores_.end() ? it->second : NULL;
|
| }
|
|
|
| void FakeContactStoreFactory::RemoveStore(FakeContactStore* store) {
|
|
|