| Index: device/bluetooth/bluetooth_profile.cc
|
| diff --git a/device/bluetooth/bluetooth_profile.cc b/device/bluetooth/bluetooth_profile.cc
|
| index 1e41b26c3e82da7191581ecb9bf647bd9c2851db..5cf421c3d276a1c9eea976d83e2788e865547c02 100644
|
| --- a/device/bluetooth/bluetooth_profile.cc
|
| +++ b/device/bluetooth/bluetooth_profile.cc
|
| @@ -58,9 +58,9 @@ void BluetoothProfile::Register(const BluetoothUUID& uuid,
|
| profile = CreateBluetoothProfileMac(uuid, options);
|
| callback.Run(profile);
|
| #elif defined(OS_WIN)
|
| - BluetoothProfile* profile = NULL;
|
| - profile = new BluetoothProfileWin(uuid, options.name);
|
| - callback.Run(profile);
|
| + BluetoothProfileWin* profile = NULL;
|
| + profile = new BluetoothProfileWin();
|
| + profile->Init(uuid, options, callback);
|
| #else
|
| callback.Run(NULL);
|
| #endif
|
|
|