Backed out 3 changesets (bug 1873394) for causing bug 1879250. CLOSED TREE

Backed out changeset b355f33d28c9 (bug 1873394)
Backed out changeset 6711b73d58e1 (bug 1873394)
Backed out changeset 44fdf4e83c7c (bug 1873394)
This commit is contained in:
pstanciu
2024-02-08 11:53:13 +02:00
parent c76c890a9b
commit dbc4a6f9dd
16 changed files with 19 additions and 358 deletions

View File

@@ -115,10 +115,6 @@ bool UtilityProcessHost::Launch(StringVector aExtraOpts) {
EnsureWidevineL1PathForSandbox(aExtraOpts);
#endif
#ifdef MOZ_WMF_CDM
EnanbleMFCDMTelemetryEventIfNeeded();
#endif
mLaunchPhase = LaunchPhase::Waiting;
if (!GeckoChildProcessHost::AsyncLaunch(aExtraOpts)) {
@@ -415,17 +411,4 @@ void UtilityProcessHost::EnsureWidevineL1PathForSandbox(
#endif
#ifdef MOZ_WMF_CDM
void UtilityProcessHost::EnanbleMFCDMTelemetryEventIfNeeded() const {
if (mSandbox != SandboxingKind::MF_MEDIA_ENGINE_CDM) {
return;
}
static bool sTelemetryEventEnabled = false;
if (!sTelemetryEventEnabled) {
sTelemetryEventEnabled = true;
Telemetry::SetEventRecordingEnabled("mfcdm"_ns, true);
}
}
#endif
} // namespace mozilla::ipc