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 311677d96a9fef7cf2ac76630f024f4a1c811cea..c9374283b4cf3b0de64c4c7daa985b68ac74b147 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h |
@@ -6,6 +6,7 @@ |
#define BluetoothError_h |
#include "platform/heap/Handle.h" |
+#include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" |
#include "wtf/Allocator.h" |
namespace blink { |
@@ -20,12 +21,8 @@ class BluetoothError { |
public: |
// Interface required by CallbackPromiseAdapter: |
- using WebType = |
- int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */; |
- static DOMException* take( |
- ScriptPromiseResolver*, |
- int32_t |
- error /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */); |
+ static DOMException* take(ScriptPromiseResolver*, |
+ mojom::blink::WebBluetoothResult); |
}; |
} // namespace blink |