Index: Source/modules/bluetooth/BluetoothGATTCharacteristic.h |
diff --git a/Source/modules/bluetooth/BluetoothGATTCharacteristic.h b/Source/modules/bluetooth/BluetoothGATTCharacteristic.h |
index 069d4ef1395623c8ed3ae3c550d2b22c60f75d05..9ba639e9af55452ecc128ff90e57939d3cd8a2b2 100644 |
--- a/Source/modules/bluetooth/BluetoothGATTCharacteristic.h |
+++ b/Source/modules/bluetooth/BluetoothGATTCharacteristic.h |
@@ -9,6 +9,7 @@ |
#include "core/dom/DOMArrayPiece.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h" |
+#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
#include "wtf/text/WTFString.h" |
@@ -34,7 +35,7 @@ public: |
explicit BluetoothGATTCharacteristic(PassOwnPtr<WebBluetoothGATTCharacteristic>); |
// Interface required by CallbackPromiseAdapter. |
- typedef WebBluetoothGATTCharacteristic WebType; |
+ using WebType = OwnPtr<WebBluetoothGATTCharacteristic>; |
static BluetoothGATTCharacteristic* take(ScriptPromiseResolver* , PassOwnPtr<WebBluetoothGATTCharacteristic>); |
// Interface required by garbage collection. |