Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(851)

Unified Diff: device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm

Issue 2906883004: bluetooth: macOS: Removing useless |.get()| (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm
diff --git a/device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm b/device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm
index 0a27de208d17045aa440958e7813da728eb26ab5..2fc9060f930ddf072a9c9812983751cd64543ae7 100644
--- a/device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm
+++ b/device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm
@@ -192,11 +192,11 @@ CBCharacteristicProperties GattCharacteristicPropertyToCBCharacteristicProperty(
scoped_nsobject<MockCBDescriptor> descriptor_mock([[MockCBDescriptor alloc]
initWithCharacteristic:self.characteristic
CBUUID:uuid]);
- [_descriptors.get() addObject:descriptor_mock];
+ [_descriptors addObject:descriptor_mock];
}
- (CBUUID*)UUID {
- return _UUID.get();
+ return _UUID;
}
- (CBCharacteristic*)characteristic {
@@ -216,7 +216,7 @@ CBCharacteristicProperties GattCharacteristicPropertyToCBCharacteristicProperty(
}
- (id)value {
- return _value.get();
+ return _value;
}
- (BOOL)isNotifying {

Powered by Google App Engine
This is Rietveld 408576698