| Index: Source/modules/bluetooth/BluetoothDevice.cpp
|
| diff --git a/Source/modules/bluetooth/BluetoothDevice.cpp b/Source/modules/bluetooth/BluetoothDevice.cpp
|
| index 65d4104f561640214dc8c7cf3fb412296e453263..e679e5ada2e848a22d3bd7b342a9395bfa1fb1be 100644
|
| --- a/Source/modules/bluetooth/BluetoothDevice.cpp
|
| +++ b/Source/modules/bluetooth/BluetoothDevice.cpp
|
| @@ -5,19 +5,18 @@
|
| #include "config.h"
|
| #include "modules/bluetooth/BluetoothDevice.h"
|
|
|
| -#include "public/platform/WebBluetoothDevice.h"
|
| #include "wtf/OwnPtr.h"
|
|
|
| namespace blink {
|
|
|
| -BluetoothDevice::BluetoothDevice(const String& instanceId)
|
| - : m_instanceId(instanceId)
|
| +BluetoothDevice::BluetoothDevice(const WebBluetoothDevice& webDevice)
|
| + : m_webDevice(webDevice)
|
| {
|
| }
|
|
|
| BluetoothDevice* BluetoothDevice::create(const WebBluetoothDevice& webDevice)
|
| {
|
| - return new BluetoothDevice(webDevice.instanceId);
|
| + return new BluetoothDevice(webDevice);
|
| }
|
|
|
| BluetoothDevice* BluetoothDevice::take(ScriptPromiseResolver*, WebBluetoothDevice* webDeviceRawPointer)
|
|
|