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 f39d77f86525fbd76c288bf16d97771b3f33c371..ce195f01b282b2df55333356f9d50181c4c18dbe 100644 |
--- a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
+++ b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm |
@@ -141,16 +141,9 @@ using base::scoped_nsobject; |
} |
- (void)didModifyServices:(NSArray*)invalidatedServices { |
- // -[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. |
- // TODO(crbug.com/653056) |
DCHECK( |
[_delegate respondsToSelector:@selector(peripheral:didModifyServices:)]); |
-#pragma clang diagnostic push |
-#pragma clang diagnostic ignored "-Wpartial-availability" |
[_delegate peripheral:self.peripheral didModifyServices:invalidatedServices]; |
-#pragma clang diagnostic pop |
} |
- (NSUUID*)identifier { |