| Index: device/bluetooth/bluetooth_adapter_profile_chromeos_unittest.cc
|
| diff --git a/device/bluetooth/bluetooth_adapter_profile_chromeos_unittest.cc b/device/bluetooth/bluetooth_adapter_profile_chromeos_unittest.cc
|
| index 6b29dd241c0b53fe1354d14ff21489bc5fd279ef..3176b8eee9f289a4f1a08e4dcaf21255e944dff3 100644
|
| --- a/device/bluetooth/bluetooth_adapter_profile_chromeos_unittest.cc
|
| +++ b/device/bluetooth/bluetooth_adapter_profile_chromeos_unittest.cc
|
| @@ -151,8 +151,8 @@ TEST_F(BluetoothAdapterProfileChromeOSTest, DelegateCount) {
|
| options.require_authentication.reset(new bool(false));
|
|
|
| profile_ = BluetoothAdapterProfileChromeOS::Register(
|
| - static_cast<BluetoothAdapterChromeOS*>(adapter_.get()), uuid, options,
|
| - base::Bind(&base::DoNothing), base::Bind(&DoNothingDBusErrorCallback));
|
| + uuid, options, base::Bind(&base::DoNothing),
|
| + base::Bind(&DoNothingDBusErrorCallback));
|
|
|
| message_loop_.RunUntilIdle();
|
|
|
| @@ -185,7 +185,7 @@ TEST_F(BluetoothAdapterProfileChromeOSTest, BlackHole) {
|
| options.require_authentication.reset(new bool(false));
|
|
|
| profile_ = BluetoothAdapterProfileChromeOS::Register(
|
| - static_cast<BluetoothAdapterChromeOS*>(adapter_.get()), uuid, options,
|
| + uuid, options,
|
| base::Bind(
|
| &BluetoothAdapterProfileChromeOSTest::DBusConnectSuccessCallback,
|
| base::Unretained(this)),
|
| @@ -224,7 +224,7 @@ TEST_F(BluetoothAdapterProfileChromeOSTest, Routing) {
|
| options.require_authentication.reset(new bool(false));
|
|
|
| profile_ = BluetoothAdapterProfileChromeOS::Register(
|
| - static_cast<BluetoothAdapterChromeOS*>(adapter_.get()), uuid, options,
|
| + uuid, options,
|
| base::Bind(
|
| &BluetoothAdapterProfileChromeOSTest::DBusConnectSuccessCallback,
|
| base::Unretained(this)),
|
|
|