diff options
author | Michaƫl Zasso <mic.besace@gmail.com> | 2015-07-18 11:34:16 +0200 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-09-06 21:38:05 +1000 |
commit | 4abc896a826c892c0d124989cc4ea6f490328942 (patch) | |
tree | b201398a2fd9ea783ef5a8c9bf0ca9299f2451c4 /test/addons/hello-world | |
parent | 9a03ae63566f761539bd3a18f0b08c34c4ba0e13 (diff) | |
download | android-node-v8-4abc896a826c892c0d124989cc4ea6f490328942.tar.gz android-node-v8-4abc896a826c892c0d124989cc4ea6f490328942.tar.bz2 android-node-v8-4abc896a826c892c0d124989cc4ea6f490328942.zip |
src: replace usage of v8::Handle with v8::Local
v8::Handle is deprecated: https://codereview.chromium.org/1224623004
PR-URL: https://github.com/nodejs/io.js/pull/2202
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/addons/hello-world')
-rw-r--r-- | test/addons/hello-world/binding.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/hello-world/binding.cc b/test/addons/hello-world/binding.cc index 4982bc3e55..b21f87d0fd 100644 --- a/test/addons/hello-world/binding.cc +++ b/test/addons/hello-world/binding.cc @@ -7,7 +7,7 @@ void Method(const v8::FunctionCallbackInfo<v8::Value>& args) { args.GetReturnValue().Set(v8::String::NewFromUtf8(isolate, "world")); } -void init(v8::Handle<v8::Object> target) { +void init(v8::Local<v8::Object> target) { NODE_SET_METHOD(target, "hello", Method); } |