Index: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h |
index 1f0ab6ebdb48674e6f1ff9beba316811e4f04937..4a52940a22cffc584e7ee2c54934c769303f5ba2 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h |
@@ -81,6 +81,8 @@ public: |
, m_creationContext(creationContext) |
, m_isolate(isolate) { ASSERT(m_context == ConstructionContext || m_context == EnumerationContext || m_context == IndexedSetterContext || m_context == IndexedGetterContext || m_context == IndexedDeletionContext); } |
+ ~ExceptionState(); |
+ |
virtual void throwDOMException(const ExceptionCode&, const String& message); |
virtual void throwTypeError(const String& message); |
virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()); |
@@ -92,14 +94,6 @@ public: |
ExceptionCode code() const { return m_code; } |
const String& message() const { return m_message; } |
- bool throwIfNeeded() |
- { |
- if (!hadException()) |
- return false; |
- throwException(); |
- return true; |
- } |
- |
// This method clears out the exception which |this| has. |
ScriptPromise reject(ScriptState*); |