| Index: Source/modules/bluetooth/BluetoothDevice.h
|
| diff --git a/Source/modules/bluetooth/BluetoothDevice.h b/Source/modules/bluetooth/BluetoothDevice.h
|
| index aa67afa1eebb71345a61e606379d298a86a22758..fa40a92c1483fac6d474cc8a6910fc22d26f0899 100644
|
| --- a/Source/modules/bluetooth/BluetoothDevice.h
|
| +++ b/Source/modules/bluetooth/BluetoothDevice.h
|
| @@ -8,6 +8,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "platform/heap/Heap.h"
|
| #include "public/platform/modules/bluetooth/WebBluetoothDevice.h"
|
| +#include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -33,7 +34,7 @@ public:
|
| ScriptPromise connectGATT(ScriptState*);
|
|
|
| // Interface required by CallbackPromiseAdapter:
|
| - typedef WebBluetoothDevice WebType;
|
| + using WebType = OwnPtr<WebBluetoothDevice>;
|
| static BluetoothDevice* take(ScriptPromiseResolver*, PassOwnPtr<WebBluetoothDevice>);
|
|
|
| // Interface required by Garbage Collection:
|
|
|