aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext/credentials.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/ext/credentials.h')
-rw-r--r--src/node/ext/credentials.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/ext/credentials.h b/src/node/ext/credentials.h
index e60be3d4e1..794736fe1a 100644
--- a/src/node/ext/credentials.h
+++ b/src/node/ext/credentials.h
@@ -68,7 +68,7 @@ class Credentials : public ::node::ObjectWrap {
static NAN_METHOD(CreateGce);
static NAN_METHOD(CreateFake);
static NAN_METHOD(CreateIam);
- static v8::Persistent<v8::Function> constructor;
+ static NanCallback *constructor;
// Used for typechecking instances of this javascript class
static v8::Persistent<v8::FunctionTemplate> fun_tpl;