diff options
author | Trevor Norris <trev.norris@gmail.com> | 2013-10-29 13:23:58 -0700 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2013-10-29 15:09:44 -0700 |
commit | 613d76ef6a00ec091367de1e63bc51e3ab672cbd (patch) | |
tree | 6d5596dfb015ef812081c3974f1b5adf862402c8 /src/node_stat_watcher.cc | |
parent | f2e3be53bc33fc9269c248cec4ac26d6ec9054f7 (diff) | |
download | node-new-613d76ef6a00ec091367de1e63bc51e3ab672cbd.tar.gz |
src: shorten Object{Wrap,Unwrap}
Going back to the original names of Wrap/Unwrap now that most all the
class members that duplicate the name and functionality have been
removed.
Diffstat (limited to 'src/node_stat_watcher.cc')
-rw-r--r-- | src/node_stat_watcher.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc index a9f41e6d50..6d8e61b2ff 100644 --- a/src/node_stat_watcher.cc +++ b/src/node_stat_watcher.cc @@ -114,7 +114,7 @@ void StatWatcher::Start(const FunctionCallbackInfo<Value>& args) { assert(args.Length() == 3); HandleScope scope(node_isolate); - StatWatcher* wrap = UnwrapObject<StatWatcher>(args.This()); + StatWatcher* wrap = Unwrap<StatWatcher>(args.This()); String::Utf8Value path(args[0]); const bool persistent = args[1]->BooleanValue(); const uint32_t interval = args[2]->Uint32Value(); @@ -127,7 +127,7 @@ void StatWatcher::Start(const FunctionCallbackInfo<Value>& args) { void StatWatcher::Stop(const FunctionCallbackInfo<Value>& args) { - StatWatcher* wrap = UnwrapObject<StatWatcher>(args.This()); + StatWatcher* wrap = Unwrap<StatWatcher>(args.This()); Environment* env = wrap->env(); Context::Scope context_scope(env->context()); HandleScope handle_scope(env->isolate()); |