| Index: Source/modules/bluetooth/BluetoothError.h
|
| diff --git a/Source/modules/bluetooth/BluetoothError.h b/Source/modules/bluetooth/BluetoothError.h
|
| index df7d1044a4fe6bd7f9ab57e3ea4dfdfe887dae17..031cf10663fd7115e94dcd6af83624c53c634b9f 100644
|
| --- a/Source/modules/bluetooth/BluetoothError.h
|
| +++ b/Source/modules/bluetooth/BluetoothError.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/modules/bluetooth/WebBluetoothError.h"
|
| +#include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
|
|
| namespace blink {
|
| @@ -20,7 +21,7 @@ class BluetoothError {
|
| WTF_MAKE_NONCOPYABLE(BluetoothError);
|
| public:
|
| // Interface required by CallbackPromiseAdapter:
|
| - typedef WebBluetoothError WebType;
|
| + using WebType = OwnPtr<WebBluetoothError>;
|
| static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebBluetoothError>);
|
|
|
| private:
|
|
|