aboutsummaryrefslogtreecommitdiff
path: root/src/async-wrap.h
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2016-11-22 17:05:14 -0700
committerTrevor Norris <trev.norris@gmail.com>2016-12-01 16:49:07 -0700
commitcf5f4b85f5ef7befa592d83b69be646f7efb236a (patch)
treeee8a09927eab36e7e72d1e22d205e037acd56cf8 /src/async-wrap.h
parent517e3a642552679c855595baeff46ff81720fae4 (diff)
downloadandroid-node-v8-cf5f4b85f5ef7befa592d83b69be646f7efb236a.tar.gz
android-node-v8-cf5f4b85f5ef7befa592d83b69be646f7efb236a.tar.bz2
android-node-v8-cf5f4b85f5ef7befa592d83b69be646f7efb236a.zip
async_wrap: make Initialize a static class member
This is how it's done everywhere else in core. Make it follow suit. PR-URL: https://github.com/nodejs/node/pull/9753 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/async-wrap.h')
-rw-r--r--src/async-wrap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/async-wrap.h b/src/async-wrap.h
index bdd6883f21..5ffd67dba9 100644
--- a/src/async-wrap.h
+++ b/src/async-wrap.h
@@ -56,6 +56,10 @@ class AsyncWrap : public BaseObject {
virtual ~AsyncWrap();
+ static void Initialize(v8::Local<v8::Object> target,
+ v8::Local<v8::Value> unused,
+ v8::Local<v8::Context> context);
+
inline ProviderType provider_type() const;
inline int64_t get_uid() const;