| Index: chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.cc
|
| index d4f3a763aefd95924915d0acde26dcc3f04077e3..3786a9aecbc5665446934e67a1319a5a2360266b 100644
|
| --- a/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.cc
|
| @@ -166,10 +166,11 @@ void BluetoothOptionsHandler::RegisterMessages() {
|
|
|
| void BluetoothOptionsHandler::InitializeHandler() {
|
| adapter_.reset(BluetoothAdapter::CreateDefaultAdapter());
|
| - adapter_->AddObserver(this);
|
| }
|
|
|
| void BluetoothOptionsHandler::InitializePage() {
|
| + adapter_->AddObserver(this);
|
| +
|
| // Show or hide the bluetooth settings and update the checkbox based
|
| // on the current present/powered state.
|
| AdapterPresentChanged(adapter_.get(), adapter_->IsPresent());
|
|
|