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 0331b9688760f90cee877acb76b954c335d410fc..6007ab6ad3ec1f243e9be76683a48401c6ce9f65 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h |
@@ -105,6 +105,7 @@ public: |
ExceptionCode code() const { return m_code; } |
const String& message() const { return m_message; } |
+ v8::Local<v8::Value> getException() { DCHECK(!m_exception.isEmpty()); return m_exception.newLocal(m_isolate); } |
bool throwIfNeeded() |
{ |