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..248cb33401e5c202ab2d96c057533730dd6188ce 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h |
@@ -6,7 +6,7 @@ |
#define BluetoothError_h |
#include "platform/heap/Handle.h" |
-#include "public/platform/modules/bluetooth/WebBluetoothError.h" |
+#include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" |
Jeffrey Yasskin
2016/07/13 20:34:58
Is this include used anymore?
ortuno
2016/07/13 22:47:28
Ah I guess not in the header. Moved to the .cc
|
#include "wtf/Allocator.h" |
namespace blink { |
@@ -20,8 +20,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; |
Jeffrey Yasskin
2016/07/13 20:34:58
Please comment which enum this expects to receive.
ortuno
2016/07/13 22:47:28
Done.
|
+ static DOMException* take(ScriptPromiseResolver*, int32_t error); |
}; |
} // namespace blink |