Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƫl Zasso <mic.besace@gmail.com>2015-07-18 12:34:16 +0300
committerRod Vagg <rod@vagg.org>2015-09-06 14:38:05 +0300
commit4abc896a826c892c0d124989cc4ea6f490328942 (patch)
treeb201398a2fd9ea783ef5a8c9bf0ca9299f2451c4 /src/stream_wrap.h
parent9a03ae63566f761539bd3a18f0b08c34c4ba0e13 (diff)
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 'src/stream_wrap.h')
-rw-r--r--src/stream_wrap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h
index 8e4cdf20be9..b0d9986db50 100644
--- a/src/stream_wrap.h
+++ b/src/stream_wrap.h
@@ -15,9 +15,9 @@ class StreamWrap;
class StreamWrap : public HandleWrap, public StreamBase {
public:
- static void Initialize(v8::Handle<v8::Object> target,
- v8::Handle<v8::Value> unused,
- v8::Handle<v8::Context> context);
+ static void Initialize(v8::Local<v8::Object> target,
+ v8::Local<v8::Value> unused,
+ v8::Local<v8::Context> context);
int GetFD() override;
void* Cast() override;
@@ -68,7 +68,7 @@ class StreamWrap : public HandleWrap, public StreamBase {
void UpdateWriteQueueSize();
static void AddMethods(Environment* env,
- v8::Handle<v8::FunctionTemplate> target,
+ v8::Local<v8::FunctionTemplate> target,
int flags = StreamBase::kFlagNone);
private: