From 4ab32bccb1c34b4a4d03c3662173e80e3c2b5523 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Mon, 5 May 2014 18:07:37 +1000 Subject: [PATCH] NanNew() -> NanNew() --- src/JPEGStream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JPEGStream.h b/src/JPEGStream.h index 7b508d2..0f5b5a4 100644 --- a/src/JPEGStream.h +++ b/src/JPEGStream.h @@ -35,7 +35,7 @@ empty_closure_output_buffer(j_compress_ptr cinfo){ Local buf = NanNewBufferHandle((char *)dest->buffer, dest->bufsize); Local argv[3] = { NanNull() - , NanNew(buf) + , NanNew(buf) , NanNew(dest->bufsize) }; NanMakeCallback(NanGetCurrentContext()->Global(), dest->closure->fn, 3, argv);