Bug 1393392 P5 - report telemetry while GPU process crashing;
MozReview-Commit-ID: 20EPGqGLwSh
--- a/gfx/ipc/GPUProcessManager.cpp
+++ b/gfx/ipc/GPUProcessManager.cpp
@@ -538,16 +538,21 @@ GPUProcessManager::NotifyListenersOnComp
}
}
void
GPUProcessManager::OnProcessUnexpectedShutdown(GPUProcessHost* aHost)
{
MOZ_ASSERT(mProcess && mProcess == aHost);
+ ReportUnblacklistingTelemetry(true,
+ mDecodeVideoOnGpuProcess,
+ mD3D11BlacklistedDriver,
+ mD3D9BlacklistedDriver);
+
CompositorManagerChild::OnGPUProcessLost();
DestroyProcess();
if (mNumProcessAttempts > uint32_t(gfxPrefs::GPUProcessMaxRestarts())) {
char disableMessage[64];
SprintfLiteral(disableMessage, "GPU process disabled after %d attempts",
mNumProcessAttempts);
DisableGPUProcess(disableMessage);