Index: components/cryptauth/fake_secure_channel.cc |
diff --git a/components/cryptauth/fake_secure_channel.cc b/components/cryptauth/fake_secure_channel.cc |
index 11bfe1797f4a25512af3e1b2364bac0986857a64..e06a0d4dd44c4caeabd8fe4d1cc186445b274659 100644 |
--- a/components/cryptauth/fake_secure_channel.cc |
+++ b/components/cryptauth/fake_secure_channel.cc |
@@ -24,7 +24,7 @@ void FakeSecureChannel::ChangeStatus(const Status& new_status) { |
// Copy to prevent channel from being removed during handler. |
std::vector<Observer*> observers_copy = observers_; |
- for (auto observer : observers_copy) { |
+ for (auto* observer : observers_copy) { |
observer->OnSecureChannelStatusChanged(this, old_status, status_); |
} |
} |
@@ -33,7 +33,7 @@ void FakeSecureChannel::ReceiveMessage(const std::string& feature, |
const std::string& payload) { |
// Copy to prevent channel from being removed during handler. |
std::vector<Observer*> observers_copy = observers_; |
- for (auto observer : observers_copy) { |
+ for (auto* observer : observers_copy) { |
observer->OnMessageReceived(this, feature, payload); |
} |
} |