diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-01-06 23:33:09 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-01-07 17:39:57 +0100 |
commit | 6573fc35022b783d1f93b79dbf127cf2b6c8fc23 (patch) | |
tree | ec2d33decc89d7294462cc343fb4fb6b87feec1b /src/node_stat_watcher.cc | |
parent | 412b3cee0531ffdbfb9c2b38583513e3d0794bb9 (diff) | |
download | android-node-v8-6573fc35022b783d1f93b79dbf127cf2b6c8fc23.tar.gz android-node-v8-6573fc35022b783d1f93b79dbf127cf2b6c8fc23.tar.bz2 android-node-v8-6573fc35022b783d1f93b79dbf127cf2b6c8fc23.zip |
src: pass node_isolate to Integer::New
Diffstat (limited to 'src/node_stat_watcher.cc')
-rw-r--r-- | src/node_stat_watcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc index c3f668c086..7e77c977cb 100644 --- a/src/node_stat_watcher.cc +++ b/src/node_stat_watcher.cc @@ -79,7 +79,7 @@ void StatWatcher::Callback(uv_fs_poll_t* handle, Local<Value> argv[3]; argv[0] = BuildStatsObject(curr); argv[1] = BuildStatsObject(prev); - argv[2] = Integer::New(status); + argv[2] = Integer::New(status, node_isolate); if (status == -1) { SetErrno(uv_last_error(wrap->watcher_->loop)); } |