Index: Source/modules/bluetooth/BluetoothGATTService.h |
diff --git a/Source/modules/bluetooth/BluetoothGATTService.h b/Source/modules/bluetooth/BluetoothGATTService.h |
index 0c00daa19dbeb2fd513f04e4ed86d4af8dfb7dbb..f547dc8e58919bc60148735b1d698cdf38d0cb3e 100644 |
--- a/Source/modules/bluetooth/BluetoothGATTService.h |
+++ b/Source/modules/bluetooth/BluetoothGATTService.h |
@@ -9,6 +9,7 @@ |
#include "bindings/modules/v8/UnionTypesModules.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/modules/bluetooth/WebBluetoothGATTService.h" |
+#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
#include "wtf/text/WTFString.h" |
@@ -34,7 +35,7 @@ public: |
explicit BluetoothGATTService(PassOwnPtr<WebBluetoothGATTService>); |
// Interface required by CallbackPromiseAdapter: |
- typedef WebBluetoothGATTService WebType; |
+ using WebType = OwnPtr<WebBluetoothGATTService>; |
static BluetoothGATTService* take(ScriptPromiseResolver*, PassOwnPtr<WebBluetoothGATTService>); |
// Interface required by garbage collection. |