Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/JsError.h

Issue 29809555: Issue #6526 - pass v8::Isolate to more functions because old approach is deprecated (Closed) Base URL: https://github.com/adblockplus/libadblockplus@4d9bcc12e77369cbc4bc04bace9a3e7fa03de17b
Patch Set: Created June 18, 2018, 10:22 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« src/FileSystemJsObject.cpp ('K') | « src/JsEngine.cpp ('k') | src/JsError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld