| 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 c9374283b4cf3b0de64c4c7daa985b68ac74b147..bf3cbce92652cbbc46a3973ec4d4679db5047250 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
|
| @@ -12,7 +12,6 @@
|
| namespace blink {
|
|
|
| class DOMException;
|
| -class ScriptPromiseResolver;
|
|
|
| // BluetoothError is used with CallbackPromiseAdapter to receive
|
| // WebBluetoothResult responses. See CallbackPromiseAdapter class comments.
|
| @@ -20,9 +19,12 @@ class BluetoothError {
|
| STATIC_ONLY(BluetoothError);
|
|
|
| public:
|
| - // Interface required by CallbackPromiseAdapter:
|
| - static DOMException* take(ScriptPromiseResolver*,
|
| - mojom::blink::WebBluetoothResult);
|
| + static DOMException* createDOMException(
|
| + mojom::blink::WebBluetoothResult error,
|
| + const String& detailedMessage);
|
| +
|
| + static DOMException* createDOMException(
|
| + mojom::blink::WebBluetoothResult error);
|
| };
|
|
|
| } // namespace blink
|
|
|