diff options
Diffstat (limited to 'src/node_os.cc')
-rw-r--r-- | src/node_os.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/node_os.cc b/src/node_os.cc index 3abc7ccec1..a100090748 100644 --- a/src/node_os.cc +++ b/src/node_os.cc @@ -30,7 +30,6 @@ using v8::Array; using v8::Boolean; using v8::Context; using v8::FunctionCallbackInfo; -using v8::Handle; using v8::Integer; using v8::Local; using v8::Number; @@ -291,9 +290,9 @@ static void GetHomeDirectory(const FunctionCallbackInfo<Value>& args) { } -void Initialize(Handle<Object> target, - Handle<Value> unused, - Handle<Context> context) { +void Initialize(Local<Object> target, + Local<Value> unused, + Local<Context> context) { Environment* env = Environment::GetCurrent(context); env->SetMethod(target, "getHostname", GetHostname); env->SetMethod(target, "getLoadAvg", GetLoadAvg); |