Index: chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc |
index bdb0bcf4daa2e717c63bafdd492d5a5d53603333..3b2637812fcfb7082c6c7efcb4192ac4d7b3bebe 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc |
@@ -213,7 +213,7 @@ void BluetoothOptionsHandler::InitializePage() { |
void BluetoothOptionsHandler::InitializeAdapter( |
scoped_refptr<device::BluetoothAdapter> adapter) { |
adapter_ = adapter; |
- CHECK(adapter_); |
+ CHECK(adapter_.get()); |
adapter_->AddObserver(this); |
} |
@@ -514,7 +514,7 @@ void BluetoothOptionsHandler::ConfirmPasskey(device::BluetoothDevice* device, |
} |
void BluetoothOptionsHandler::DismissDisplayOrConfirm() { |
- DCHECK(adapter_); |
+ DCHECK(adapter_.get()); |
// We can receive this delegate call when we haven't been asked to display or |
// confirm anything; we can determine that by checking whether we've saved |