| Index: Source/modules/bluetooth/BluetoothDevice.h
|
| diff --git a/Source/modules/bluetooth/BluetoothDevice.h b/Source/modules/bluetooth/BluetoothDevice.h
|
| index 7c4f4ae11731160c59d9750649a06a21d7d5af02..5c5bb5f302c77cac44629f5212b5aeba68bad0c5 100644
|
| --- a/Source/modules/bluetooth/BluetoothDevice.h
|
| +++ b/Source/modules/bluetooth/BluetoothDevice.h
|
| @@ -7,12 +7,12 @@
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "platform/heap/Heap.h"
|
| +#include "public/platform/WebBluetoothDevice.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
|
|
| class ScriptPromiseResolver;
|
| -struct WebBluetoothDevice;
|
|
|
| // BluetoothDevice represents a physical bluetooth device in the DOM. See IDL.
|
| //
|
| @@ -25,7 +25,7 @@ class BluetoothDevice final
|
| , public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - BluetoothDevice(const String& instanceId);
|
| + BluetoothDevice(const WebBluetoothDevice&);
|
|
|
| static BluetoothDevice* create(const WebBluetoothDevice&);
|
|
|
| @@ -38,10 +38,10 @@ public:
|
| void trace(Visitor*) { }
|
|
|
| // IDL exposed interface:
|
| - String instanceId() { return m_instanceId; }
|
| + String instanceID() { return m_webDevice.instanceID; }
|
|
|
| private:
|
| - String m_instanceId;
|
| + WebBluetoothDevice m_webDevice;
|
| };
|
|
|
| } // namespace blink
|
|
|