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..9ff242a9c1036f2b89082450e8a0c4eb4e97ca13 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,11 +21,9 @@ class BluetoothError { |
public: |
// Interface required by CallbackPromiseAdapter: |
- using WebType = |
- int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */; |
static DOMException* take( |
ScriptPromiseResolver*, |
- int32_t |
+ mojom::blink::WebBluetoothResult |
error /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */); |
Reilly Grant (use Gerrit)
2016/12/20 02:08:17
This comment is unnecessary now.
juncai
2016/12/20 22:33:43
Done.
|
}; |