Index: components/pairing/fake_host_pairing_controller.cc |
diff --git a/components/pairing/fake_host_pairing_controller.cc b/components/pairing/fake_host_pairing_controller.cc |
index 69aba2db6113bbe2bc455f419edaa4088161ed63..f0300f2dd5468cf47a91c98c11f1d1ddf2cd2941 100644 |
--- a/components/pairing/fake_host_pairing_controller.cc |
+++ b/components/pairing/fake_host_pairing_controller.cc |
@@ -80,7 +80,8 @@ void FakeHostPairingController::ChangeStage(Stage new_stage) { |
if (current_stage_ == new_stage) |
return; |
current_stage_ = new_stage; |
- FOR_EACH_OBSERVER(Observer, observers_, PairingStageChanged(new_stage)); |
+ for (Observer& observer : observers_) |
+ observer.PairingStageChanged(new_stage); |
} |
void FakeHostPairingController::ChangeStageLater(Stage new_stage) { |