зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1316222 - Disable the crash guard in the GPU process since it won't be useful. r=dvander
This commit is contained in:
Родитель
7f923f0bd6
Коммит
8447c96ad2
|
@ -66,6 +66,11 @@ DriverCrashGuard::InitializeIfNeeded()
|
||||||
static inline bool
|
static inline bool
|
||||||
AreCrashGuardsEnabled()
|
AreCrashGuardsEnabled()
|
||||||
{
|
{
|
||||||
|
// Crash guard isn't supported in the GPU process since the entire
|
||||||
|
// process is basically a crash guard.
|
||||||
|
if (XRE_IsGPUProcess()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
#ifdef NIGHTLY_BUILD
|
#ifdef NIGHTLY_BUILD
|
||||||
// We only use the crash guard on non-nightly channels, since the nightly
|
// We only use the crash guard on non-nightly channels, since the nightly
|
||||||
// channel is for development and having graphics features perma-disabled
|
// channel is for development and having graphics features perma-disabled
|
||||||
|
|
Загрузка…
Ссылка в новой задаче