diff options
author | Trevor Norris <trev.norris@gmail.com> | 2015-01-07 14:13:35 -0800 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2015-01-07 14:21:02 -0800 |
commit | cbf76c1f2f0e36a707e70cf9c6a8a251b6ac3f26 (patch) | |
tree | 5f7d34980bae628553d0ef83b786f8b5166201e4 /src/fs_event_wrap.cc | |
parent | d55338662329ac37386783ef1aa88f099eff86b2 (diff) | |
download | node-new-cbf76c1f2f0e36a707e70cf9c6a8a251b6ac3f26.tar.gz |
src: pass Isolate to node::Utf8Value constructor
Initial attempt to remove all uses of Isolate::GetCurrent(). Still
exists a few locations, but this works out a heavy usage.
PR-URL: https://github.com/iojs/io.js/pull/244
Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r-- | src/fs_event_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index 57d07272ec..be472dde76 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -110,7 +110,7 @@ void FSEventWrap::Start(const FunctionCallbackInfo<Value>& args) { return env->ThrowTypeError("Bad arguments"); } - node::Utf8Value path(args[0]); + node::Utf8Value path(env->isolate(), args[0]); unsigned int flags = 0; if (args[2]->IsTrue()) |