| Index: chrome/browser/ui/app_list/test/fake_profile_store.cc
|
| diff --git a/chrome/browser/ui/app_list/test/fake_profile_store.cc b/chrome/browser/ui/app_list/test/fake_profile_store.cc
|
| index 1bda66adff93b9d71f0d187b91aff383821293fb..83be0ecfaed4155e6b7ba173775063a11074bc23 100644
|
| --- a/chrome/browser/ui/app_list/test/fake_profile_store.cc
|
| +++ b/chrome/browser/ui/app_list/test/fake_profile_store.cc
|
| @@ -28,11 +28,11 @@ void FakeProfileStore::LoadProfile(Profile* profile) {
|
|
|
| void FakeProfileStore::RemoveProfile(Profile* profile) {
|
| base::FilePath path(profile->GetPath());
|
| - FOR_EACH_OBSERVER(ProfileAttributesStorage::Observer, observer_list_,
|
| - OnProfileWillBeRemoved(path));
|
| + for (auto& observer : observer_list_)
|
| + observer.OnProfileWillBeRemoved(path);
|
| loaded_profiles_.erase(path);
|
| - FOR_EACH_OBSERVER(ProfileAttributesStorage::Observer, observer_list_,
|
| - OnProfileWasRemoved(path, base::string16()));
|
| + for (auto& observer : observer_list_)
|
| + observer.OnProfileWasRemoved(path, base::string16());
|
| }
|
|
|
| void FakeProfileStore::AddProfileObserver(
|
|
|