Bug 1316222 - Disable the crash guard in the GPU process since it won't be useful. r=dvander

This commit is contained in:
Matt Woodrow 2016-11-11 15:04:30 +13:00
Родитель 7f923f0bd6
Коммит 8447c96ad2
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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