diff --git a/browser/api/atom_api_window.cc b/browser/api/atom_api_window.cc index 3f97a757278..9718629dbef 100644 --- a/browser/api/atom_api_window.cc +++ b/browser/api/atom_api_window.cc @@ -132,7 +132,7 @@ void Window::Destroy(const v8::FunctionCallbackInfo& args) { // renderer process became a zombie. base::MessageLoop::current()->PostDelayedTask( FROM_HERE, - base::Bind(base::IgnoreResult(base::KillProcess), 0, false, handle), + base::Bind(base::IgnoreResult(base::KillProcess), handle, 0, false), base::TimeDelta::FromMilliseconds(5000)); }