Index: chrome/browser/signin/easy_unlock_service.cc |
diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc |
index 7a21e93e623e77b88488d149e3fff845ccf71579..63708295c2287c1d2a2610117cb2617a69b0a622 100644 |
--- a/chrome/browser/signin/easy_unlock_service.cc |
+++ b/chrome/browser/signin/easy_unlock_service.cc |
@@ -494,8 +494,8 @@ bool EasyUnlockService::UpdateScreenlockState(ScreenlockState state) { |
HandleAuthFailure(GetAccountId()); |
} |
- FOR_EACH_OBSERVER( |
- EasyUnlockServiceObserver, observers_, OnScreenlockStateChanged(state)); |
+ for (EasyUnlockServiceObserver& observer : observers_) |
+ observer.OnScreenlockStateChanged(state); |
return true; |
} |
@@ -723,8 +723,8 @@ void EasyUnlockService::NotifyUserUpdated() { |
} |
void EasyUnlockService::NotifyTurnOffOperationStatusChanged() { |
- FOR_EACH_OBSERVER( |
- EasyUnlockServiceObserver, observers_, OnTurnOffOperationStatusChanged()); |
+ for (EasyUnlockServiceObserver& observer : observers_) |
+ observer.OnTurnOffOperationStatusChanged(); |
} |
void EasyUnlockService::ResetScreenlockState() { |