| Index: device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
|
| diff --git a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
|
| index d469ec9e621fe952f7753b42c9b4e2c8ef9aee5b..f45c5c21f2c43c0d452c2e59b3840081045f8bed 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
|
| +++ b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
|
| @@ -141,11 +141,12 @@ using base::scoped_nsobject;
|
| }
|
|
|
| - (void)didModifyServices:(NSArray*)invalidatedServices {
|
| + DCHECK(
|
| + [_delegate respondsToSelector:@selector(peripheral:didModifyServices:)]);
|
| // -[CBPeripheralDelegate peripheral:didModifyServices:] is only available
|
| // with 10.9. It is safe to call this method (even if chrome is running on
|
| // 10.8) since WebBluetooth is enabled only with 10.10.
|
| - DCHECK(
|
| - [_delegate respondsToSelector:@selector(peripheral:didModifyServices:)]);
|
| +// TODO(crbug.com/653056)
|
| #pragma clang diagnostic push
|
| #pragma clang diagnostic ignored "-Wpartial-availability"
|
| [_delegate peripheral:self.peripheral didModifyServices:invalidatedServices];
|
|
|