💄 Fix wrong order of parameter when killing process.

This commit is contained in:
Cheng Zhao 2013-12-29 22:11:54 +08:00
parent 074ea374e0
commit 7d193033f5

View file

@ -132,7 +132,7 @@ void Window::Destroy(const v8::FunctionCallbackInfo<v8::Value>& 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));
}