Index: device/bluetooth/bluetooth_adapter_android_unittest.cc |
diff --git a/device/bluetooth/bluetooth_adapter_android_unittest.cc b/device/bluetooth/bluetooth_adapter_android_unittest.cc |
index 0a0c22ede885214c5bfd14c35b0a5d5551793021..c4d5252e339c7a99f97c059bccfed78af6695902 100644 |
--- a/device/bluetooth/bluetooth_adapter_android_unittest.cc |
+++ b/device/bluetooth/bluetooth_adapter_android_unittest.cc |
@@ -14,11 +14,12 @@ class BluetoothAdapterAndroidTest : public testing::Test { |
adapter_ = BluetoothAdapterAndroid::CreateAdapter().get(); |
} |
- scoped_refptr<BluetoothAdapter> adapter_; |
+ scoped_refptr<BluetoothAdapterAndroid> adapter_; |
}; |
TEST_F(BluetoothAdapterAndroidTest, Construct) { |
- EXPECT_TRUE(adapter_.get()); |
+ ASSERT_TRUE(adapter_.get()); |
+ EXPECT_FALSE(adapter_->HasBluetoothPermission()); |
} |
} // namespace device |