diff --git a/atom/browser/api/atom_api_app.cc b/atom/browser/api/atom_api_app.cc index 018ca1f85a36..fea4deda5b1b 100644 --- a/atom/browser/api/atom_api_app.cc +++ b/atom/browser/api/atom_api_app.cc @@ -210,7 +210,7 @@ void App::OnSelectCertificate( } 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) { diff --git a/docs/api/app.md b/docs/api/app.md index fd488555a71c..89df0e7bde99 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -125,7 +125,7 @@ app.on('select-certificate', function(event, host, url, list, callback) { `event.preventDefault()` prevents from using the first certificate from the store. -### Event: 'gpu-crashed' +### Event: 'gpu-process-crashed' Emitted when the gpu process is crashed.