Index: device/bluetooth/bluetooth_adapter_mac_unittest.mm |
diff --git a/device/bluetooth/bluetooth_adapter_mac_unittest.mm b/device/bluetooth/bluetooth_adapter_mac_unittest.mm |
index be0184893fb82da61e416cf1bb7d55f8a3d55050..49fc30becd972a0a7f68eb7928f99658baf77e3e 100644 |
--- a/device/bluetooth/bluetooth_adapter_mac_unittest.mm |
+++ b/device/bluetooth/bluetooth_adapter_mac_unittest.mm |
@@ -113,8 +113,7 @@ class BluetoothAdapterMacTest : public testing::Test { |
return false; |
} |
mock_central_manager_ = [[MockCentralManager alloc] init]; |
- adapter_mac_->low_energy_discovery_manager_->SetManagerForTesting( |
- mock_central_manager_); |
+ adapter_mac_->SetCentralManagerForTesting(mock_central_manager_); |
return true; |
} |
@@ -145,7 +144,7 @@ class BluetoothAdapterMacTest : public testing::Test { |
scoped_refptr<BluetoothAdapter> adapter_; |
BluetoothAdapterMac* adapter_mac_; |
- // Owned by |low_energy_discovery_manager_| on |adapter_mac_|. |
+ // Owned by |adapter_mac_|. |
id mock_central_manager_ = NULL; |
int callback_count_; |