Index: src/JsError.h |
diff --git a/src/JsError.h b/src/JsError.h |
index 3955711953443b014b73e87dfa9c93a61aa2624d..a73223c37cd20b836e4c53a5eba56a060529fdee 100644 |
--- a/src/JsError.h |
+++ b/src/JsError.h |
@@ -27,9 +27,10 @@ namespace AdblockPlus |
class JsError : public std::runtime_error |
{ |
public: |
- JsError(const v8::Local<v8::Value>& exception, |
+ JsError(v8::Isolate* isolate, |
+ const v8::Local<v8::Value>& exception, |
const v8::Local<v8::Message>& message); |
- static std::string ExceptionToString(const v8::Local<v8::Value>& exception, |
+ static std::string ExceptionToString(v8::Isolate* isolate, const v8::Local<v8::Value>& exception, |
const v8::Local<v8::Message>& message); |
}; |