| Index: device/bluetooth/bluez/bluetooth_advertisement_bluez.cc
|
| diff --git a/device/bluetooth/bluez/bluetooth_advertisement_bluez.cc b/device/bluetooth/bluez/bluetooth_advertisement_bluez.cc
|
| index d03fd954b132412fd3f541ea2a364b65667f7a55..0adece730c1316d68b7957782b9b192f4bcf47e0 100644
|
| --- a/device/bluetooth/bluez/bluetooth_advertisement_bluez.cc
|
| +++ b/device/bluetooth/bluez/bluetooth_advertisement_bluez.cc
|
| @@ -130,8 +130,8 @@ void BluetoothAdvertisementBlueZ::Unregister(
|
| void BluetoothAdvertisementBlueZ::Released() {
|
| LOG(WARNING) << "Advertisement released.";
|
| provider_.reset();
|
| - FOR_EACH_OBSERVER(BluetoothAdvertisement::Observer, observers_,
|
| - AdvertisementReleased(this));
|
| + for (auto& observer : observers_)
|
| + observer.AdvertisementReleased(this);
|
| }
|
|
|
| } // namespace bluez
|
|
|