| Index: device/bluetooth/bluetooth_chromeos_unittest.cc
|
| diff --git a/device/bluetooth/bluetooth_chromeos_unittest.cc b/device/bluetooth/bluetooth_chromeos_unittest.cc
|
| index 6020ce4ea70dc7f6fdcc5d73e005ed4563725be4..5adf2d43d638d50753c2d8d3a0d9dd7733641b68 100644
|
| --- a/device/bluetooth/bluetooth_chromeos_unittest.cc
|
| +++ b/device/bluetooth/bluetooth_chromeos_unittest.cc
|
| @@ -244,7 +244,7 @@ class BluetoothChromeOSTest : public testing::Test {
|
| // Call to fill the adapter_ member with a BluetoothAdapter instance.
|
| void GetAdapter() {
|
| adapter_ = new BluetoothAdapterChromeOS();
|
| - ASSERT_TRUE(adapter_ != NULL);
|
| + ASSERT_TRUE(adapter_.get() != NULL);
|
| ASSERT_TRUE(adapter_->IsInitialized());
|
| }
|
|
|
| @@ -254,7 +254,7 @@ class BluetoothChromeOSTest : public testing::Test {
|
| // The correct behavior of discovery is tested by the "Discovery" test case
|
| // without using this function.
|
| void DiscoverDevice(const std::string& address) {
|
| - ASSERT_TRUE(adapter_ != NULL);
|
| + ASSERT_TRUE(adapter_.get() != NULL);
|
|
|
| if (base::MessageLoop::current() == NULL) {
|
| base::MessageLoop message_loop(base::MessageLoop::TYPE_DEFAULT);
|
|
|