| Index: device/bluetooth/dbus/fake_bluetooth_media_client.cc
|
| diff --git a/device/bluetooth/dbus/fake_bluetooth_media_client.cc b/device/bluetooth/dbus/fake_bluetooth_media_client.cc
|
| index 3b7a83b9a19a2c87f55ec8b3e82c7cb88424063f..7ca3a7a89ff21dc711167607f0efa4d1ed51e040 100644
|
| --- a/device/bluetooth/dbus/fake_bluetooth_media_client.cc
|
| +++ b/device/bluetooth/dbus/fake_bluetooth_media_client.cc
|
| @@ -100,8 +100,8 @@ void FakeBluetoothMediaClient::SetVisible(bool visible) {
|
| SetEndpointRegistered(endpoints_.begin()->second, false);
|
|
|
| // Notifies observers about the change on |visible_|.
|
| - FOR_EACH_OBSERVER(BluetoothMediaClient::Observer, observers_,
|
| - MediaRemoved(object_path_));
|
| + for (auto& observer : observers_)
|
| + observer.MediaRemoved(object_path_);
|
| }
|
|
|
| void FakeBluetoothMediaClient::SetEndpointRegistered(
|
|
|