Chromium Code Reviews| 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..0db02915947f5889e43ae26d45c0cb8fe1c59230 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.newLocal(m_isolate); } |
|
Yuki
2016/08/18 07:57:09
m_exception may be empty.
m_exception.isEmpty() ?
kojii
2016/08/18 08:06:52
Done.
|
| bool throwIfNeeded() |
| { |