| Index: device/bluetooth/test/mock_bluetooth_cbservice_mac.mm
|
| diff --git a/device/bluetooth/test/mock_bluetooth_cbservice_mac.mm b/device/bluetooth/test/mock_bluetooth_cbservice_mac.mm
|
| index e82527d477bb7fa2879b214fa7d8d8c4be4aca55..cdd1516f0858b1d9d62a43cba3daf8d38c37f4d4 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_cbservice_mac.mm
|
| +++ b/device/bluetooth/test/mock_bluetooth_cbservice_mac.mm
|
| @@ -60,7 +60,7 @@ using base::scoped_nsobject;
|
| }
|
|
|
| - (CBUUID*)UUID {
|
| - return _UUID.get();
|
| + return _UUID;
|
| }
|
|
|
| - (void)addCharacteristicWithUUID:(CBUUID*)cb_uuid properties:(int)properties {
|
| @@ -68,11 +68,11 @@ using base::scoped_nsobject;
|
| [[MockCBCharacteristic alloc] initWithService:self.service
|
| CBUUID:cb_uuid
|
| properties:properties]);
|
| - [_characteristics.get() addObject:characteristic_mock];
|
| + [_characteristics addObject:characteristic_mock];
|
| }
|
|
|
| - (void)removeCharacteristicMock:(MockCBCharacteristic*)characteristic_mock {
|
| - [_characteristics.get() removeObject:characteristic_mock];
|
| + [_characteristics removeObject:characteristic_mock];
|
| }
|
|
|
| - (CBService*)service {
|
| @@ -80,7 +80,7 @@ using base::scoped_nsobject;
|
| }
|
|
|
| - (NSArray*)characteristics {
|
| - return _characteristics.get();
|
| + return _characteristics;
|
| }
|
|
|
| @end
|
|
|