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

Unified Diff: src/JsError.cpp

Issue 29735555: Issue 6526 - replace deprecated v8::Handle by v8::Local (Closed) Base URL: https://github.com/adblockplus/libadblockplus@ef3f884a2efa47ace996398da09afe3d0ce647f0
Patch Set: Created March 28, 2018, 8:06 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
« no previous file with comments | « src/JsError.h ('k') | src/JsValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/JsError.cpp
diff --git a/src/JsError.cpp b/src/JsError.cpp
index 3af341f10e16bfa619faa7af87dfd7e136170a77..3c5565a8a332c0e72974b8c83c62c918e815a92b 100644
--- a/src/JsError.cpp
+++ b/src/JsError.cpp
@@ -19,14 +19,14 @@
using namespace AdblockPlus;
-JsError::JsError(const v8::Handle<v8::Value>& exception,
- const v8::Handle<v8::Message>& message)
+JsError::JsError(const v8::Local<v8::Value>& exception,
+ const v8::Local<v8::Message>& message)
: std::runtime_error(ExceptionToString(exception, message))
{
}
-std::string JsError::ExceptionToString(const v8::Handle<v8::Value>& exception,
- const v8::Handle<v8::Message>& message)
+std::string JsError::ExceptionToString(const v8::Local<v8::Value>& exception,
+ const v8::Local<v8::Message>& message)
{
std::stringstream error;
error << *v8::String::Utf8Value(exception);
« no previous file with comments | « src/JsError.h ('k') | src/JsValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld