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

Unified Diff: src/Utils.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/Utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/Utils.cpp
diff --git a/src/Utils.cpp b/src/Utils.cpp
index 2eeb8d1c9f5f80815a651e987406abfacbe3044d..b084ffba7a4bc72218dfb2080d00b9eaae09bdec 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -26,7 +26,7 @@
using namespace AdblockPlus;
-std::string Utils::FromV8String(const v8::Handle<v8::Value>& value)
+std::string Utils::FromV8String(const v8::Local<v8::Value>& value)
{
v8::String::Utf8Value stringValue(value);
if (stringValue.length())
@@ -35,7 +35,7 @@ std::string Utils::FromV8String(const v8::Handle<v8::Value>& value)
return std::string();
}
-StringBuffer Utils::StringBufferFromV8String(const v8::Handle<v8::Value>& value)
+StringBuffer Utils::StringBufferFromV8String(const v8::Local<v8::Value>& value)
{
v8::String::Utf8Value stringValue(value);
if (stringValue.length())
« no previous file with comments | « src/Utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld