Rename event name to gpu-process-crashed

This commit is contained in:
Cheng Zhao 2015-06-25 22:01:57 +08:00
parent 5b5393e82b
commit a3ec50437d
2 changed files with 2 additions and 2 deletions

View file

@ -210,7 +210,7 @@ void App::OnSelectCertificate(
} }
void App::OnGpuProcessCrashed(base::TerminationStatus exit_code) { void App::OnGpuProcessCrashed(base::TerminationStatus exit_code) {
Emit("gpu-crashed"); Emit("gpu-process-crashed");
} }
base::FilePath App::GetPath(mate::Arguments* args, const std::string& name) { base::FilePath App::GetPath(mate::Arguments* args, const std::string& name) {

View file

@ -125,7 +125,7 @@ app.on('select-certificate', function(event, host, url, list, callback) {
`event.preventDefault()` prevents from using the first certificate from `event.preventDefault()` prevents from using the first certificate from
the store. the store.
### Event: 'gpu-crashed' ### Event: 'gpu-process-crashed'
Emitted when the gpu process is crashed. Emitted when the gpu process is crashed.