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..600fb21395ae8e1f392e8645413e1396391ca162 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() { return m_exception.isEmpty() ? v8::Local<v8::Value>() : m_exception.newLocal(m_isolate); } |
bool throwIfNeeded() |
{ |