Index: Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
diff --git a/Source/modules/bluetooth/BluetoothGATTRemoteServer.h b/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
index 05a228f582bfa4c0b25cb187da4fac9a13ac5ba3..6c1f74c5f08ec1219050f27179c36187ad21d0b1 100644 |
--- a/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
+++ b/Source/modules/bluetooth/BluetoothGATTRemoteServer.h |
@@ -9,6 +9,7 @@ |
#include "bindings/modules/v8/UnionTypesModules.h" |
#include "platform/heap/Heap.h" |
#include "public/platform/modules/bluetooth/WebBluetoothGATTRemoteServer.h" |
+#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
#include "wtf/text/WTFString.h" |
@@ -32,7 +33,7 @@ public: |
BluetoothGATTRemoteServer(PassOwnPtr<WebBluetoothGATTRemoteServer>); |
// Interface required by CallbackPromiseAdapter: |
- typedef WebBluetoothGATTRemoteServer WebType; |
+ using WebType = OwnPtr<WebBluetoothGATTRemoteServer>; |
static BluetoothGATTRemoteServer* take(ScriptPromiseResolver*, PassOwnPtr<WebBluetoothGATTRemoteServer>); |
// Interface required by Garbage Collectoin: |