| Index: device/bluetooth/bluetooth_adapter_factory.cc
|
| diff --git a/device/bluetooth/bluetooth_adapter_factory.cc b/device/bluetooth/bluetooth_adapter_factory.cc
|
| index 262c95b1b7377cc9b5e8cc87122e9d542fb86397..c15d26a514b3082a1fe5c89649e88d70dbfedeba 100644
|
| --- a/device/bluetooth/bluetooth_adapter_factory.cc
|
| +++ b/device/bluetooth/bluetooth_adapter_factory.cc
|
| @@ -42,6 +42,7 @@ typedef std::vector<BluetoothAdapterFactory::AdapterCallback>
|
| base::LazyInstance<AdapterCallbackList> adapter_callbacks =
|
| LAZY_INSTANCE_INITIALIZER;
|
|
|
| +#if defined(OS_WIN)
|
| void RunAdapterCallbacks() {
|
| CHECK(default_adapter.Get().get());
|
| scoped_refptr<BluetoothAdapter> adapter(default_adapter.Get().get());
|
| @@ -53,6 +54,7 @@ void RunAdapterCallbacks() {
|
| }
|
| adapter_callbacks.Get().clear();
|
| }
|
| +#endif // defined(OS_WIN)
|
|
|
| } // namespace
|
|
|
|
|