From a11fafdc744332f5b3bc9de2900bf0a20aa64361 Mon Sep 17 00:00:00 2001 From: Adeel Date: Wed, 7 Jan 2015 14:10:41 +0200 Subject: [PATCH] Code: Don't push to vector for Render*Sync. --- src/binding.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/binding.cpp b/src/binding.cpp index 30924b30a..0b6ec0a7d 100644 --- a/src/binding.cpp +++ b/src/binding.cpp @@ -93,11 +93,10 @@ struct Sass_Import** sass_importer(const char* file, const char* prev, void* coo Handle argv[] = { NanNew(file), - NanNew(prev), - NanNew(imports_collection.size() - 1) + NanNew(prev) }; - Local returned_value = Local::Cast(NanNew(ctx_w->importer_callback->Call(3, argv))); + Local returned_value = Local::Cast(NanNew(ctx_w->importer_callback->Call(2, argv))); prepare_import_results(returned_value->Get(NanNew("objectLiteral")), ctx_w); }