Backed out changeset 2e6cbbc4c53e (bug 1452146) for causing leaks on a CLOSED TREE
authorAndreea Pavel <apavel@mozilla.com>
Fri, 30 Nov 2018 04:16:52 +0200
changeset 508110 c4a45f2bd13972fb4728aefab69197c6d2eb2215
parent 508109 d4574d73506372785c910a68447ed4354d7ea561
child 508111 2f0e92d76c4e96fe66f0aab96075c22b3692f116
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1452146
milestone65.0a1
backs out2e6cbbc4c53e3c0cc762b8c716d5e6370a11bd17
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 2e6cbbc4c53e (bug 1452146) for causing leaks on a CLOSED TREE
modules/libpref/init/StaticPrefList.h
modules/libpref/init/all.js
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -1098,27 +1098,21 @@ VARCACHE_PREF(
 #endif
 VARCACHE_PREF(
   "media.gpu-process-decoder",
    MediaGpuProcessDecoder,
   RelaxedAtomicBool, PREF_VALUE
 )
 #undef PREF_VALUE
 
-#if defined(XP_WIN) || defined(XP_MACOSX)
-# define PREF_VALUE true
-#else
-# define PREF_VALUE false
-#endif
 VARCACHE_PREF(
   "media.rdd-process.enabled",
    MediaRddProcessEnabled,
-  RelaxedAtomicBool, PREF_VALUE
+  RelaxedAtomicBool, false
 )
-#undef PREF_VALUE
 
 VARCACHE_PREF(
   "media.rdd-process.startup_timeout_ms",
    MediaRddProcessStartupTimeoutMs,
   RelaxedAtomicInt32, 5000
 )
 
 #ifdef ANDROID
@@ -1419,27 +1413,21 @@ VARCACHE_PREF(
 // WebM
 VARCACHE_PREF(
   "media.webm.enabled",
    MediaWebMEnabled,
   RelaxedAtomicBool, true
 )
 
 // AV1
-#if defined(XP_WIN) || defined(XP_MACOSX)
-# define PREF_VALUE true
-#else
-# define PREF_VALUE false
-#endif
 VARCACHE_PREF(
   "media.av1.enabled",
    MediaAv1Enabled,
-  RelaxedAtomicBool, PREF_VALUE
+  RelaxedAtomicBool, false
 )
-#undef PREF_VALUE
 VARCACHE_PREF(
   "media.av1.use-dav1d",
    MediaAv1UseDav1d,
   RelaxedAtomicBool, false
 )
 
 VARCACHE_PREF(
   "media.flac.enabled",
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -637,21 +637,17 @@ pref("media.cubeb.sandbox", true);
 pref("media.audioipc.pool_size", 2);
 // 64 * 4 kB stack per pool thread.
 pref("media.audioipc.stack_size", 262144);
 #else
 pref("media.cubeb.sandbox", false);
 #endif
 
 #ifdef MOZ_AV1
-#if defined(XP_MACOSX) || defined(XP_WIN)
-pref("media.av1.enabled", true);
-#else
 pref("media.av1.enabled", false);
-#endif
 // Use libdav1d instead of libaom
 pref("media.av1.use-dav1d", false);
 #endif
 
 pref("media.webaudio.audiocontextoptions-samplerate.enabled", true);
 
 // setSinkId expected to be unconditionally enabled in 63. Till then the
 // implementation will remain hidden behind this pref (Bug 1152401, Bug 934425).