summaryrefslogtreecommitdiff
path: root/src/fs_event_wrap.cc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-01-06 23:09:39 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-01-07 17:39:57 +0100
commit412b3cee0531ffdbfb9c2b38583513e3d0794bb9 (patch)
tree155bfc6b4688a96cb89be059f6387ef7a03e1feb /src/fs_event_wrap.cc
parent5d0816bf3e5f29a470356eebc81f703047c0dd73 (diff)
downloadandroid-node-v8-412b3cee0531ffdbfb9c2b38583513e3d0794bb9.tar.gz
android-node-v8-412b3cee0531ffdbfb9c2b38583513e3d0794bb9.tar.bz2
android-node-v8-412b3cee0531ffdbfb9c2b38583513e3d0794bb9.zip
src: pass node_isolate to String::Empty
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r--src/fs_event_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc
index 15ad2f71bc..dac4dc3ef6 100644
--- a/src/fs_event_wrap.cc
+++ b/src/fs_event_wrap.cc
@@ -136,7 +136,7 @@ void FSEventWrap::OnEvent(uv_fs_event_t* handle, const char* filename,
// unreasonable, right? Still, we should revisit this before v1.0.
if (status) {
SetErrno(uv_last_error(uv_default_loop()));
- eventStr = String::Empty();
+ eventStr = String::Empty(node_isolate);
}
else if (events & UV_RENAME) {
eventStr = String::New("rename");