Index: Source/bindings/core/v8/ExceptionState.h |
diff --git a/Source/bindings/core/v8/ExceptionState.h b/Source/bindings/core/v8/ExceptionState.h |
index e42cebd2fa707287db8c7ff965ac22ff543a0c21..695aa16117f137ae56b1aa0b82d4e1273a2619d8 100644 |
--- a/Source/bindings/core/v8/ExceptionState.h |
+++ b/Source/bindings/core/v8/ExceptionState.h |
@@ -43,6 +43,7 @@ |
namespace blink { |
typedef int ExceptionCode; |
+class ScriptPromiseResolver; |
class ScriptState; |
class CORE_EXPORT ExceptionState { |
@@ -100,6 +101,9 @@ public: |
// This method clears out the exception which |this| has. |
ScriptPromise reject(ScriptState*); |
+ // This method clears out the exception which |this| has. |
+ void reject(ScriptPromiseResolver*); |
+ |
Context context() const { return m_context; } |
const char* propertyName() const { return m_propertyName; } |
const char* interfaceName() const { return m_interfaceName; } |