| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
|
| index 6fcf7de19542a5afef873db37475ad97c7869456..a79837baf76391b48a7ef815ba439e3a14b2beff 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
|
| @@ -6,7 +6,6 @@
|
| #define BluetoothError_h
|
|
|
| #include "platform/heap/Handle.h"
|
| -#include "public/platform/modules/bluetooth/WebBluetoothError.h"
|
| #include "wtf/Allocator.h"
|
|
|
| namespace blink {
|
| @@ -20,8 +19,8 @@ class BluetoothError {
|
| STATIC_ONLY(BluetoothError);
|
| public:
|
| // Interface required by CallbackPromiseAdapter:
|
| - using WebType = const WebBluetoothError&;
|
| - static DOMException* take(ScriptPromiseResolver*, const WebBluetoothError&);
|
| + using WebType = int32_t /* Corresponds to WebBluetoothError in web_bluetooth.mojom */;
|
| + static DOMException* take(ScriptPromiseResolver*, int32_t error /* Corresponds to WebBluetoothError in web_bluetooth.mojom */);
|
| };
|
|
|
| } // namespace blink
|
|
|