Rename event name to gpu-process-crashed
This commit is contained in:
parent
5b5393e82b
commit
a3ec50437d
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue