diff --git a/atom/common/api/atom_bindings.cc b/atom/common/api/atom_bindings.cc index 401fedb906c..51a85c1297b 100644 --- a/atom/common/api/atom_bindings.cc +++ b/atom/common/api/atom_bindings.cc @@ -66,7 +66,7 @@ void AtomBindings::BindTo(v8::Isolate* isolate, v8::Local process) { dict.SetMethod("getIOCounters", &GetIOCounters); dict.SetMethod("takeHeapSnapshot", &TakeHeapSnapshot); #if defined(OS_POSIX) - dict.SetMethod("setFdLimit", &base::SetFdLimit); + dict.SetMethod("setFdLimit", &base::IncreaseFdLimitTo); #endif dict.SetMethod("activateUvLoop", base::Bind(&AtomBindings::ActivateUVLoop, base::Unretained(this)));