Bug 1536126 - don't enable RDD process on platforms without sandboxing. r=drno
authorMichael Froman <mfroman@mozilla.com>
Tue, 07 May 2019 20:34:13 +0000
changeset 531788 8f3c6a2c4df19e91115f3ec870b766a9f95ee4c8
parent 531787 1ff1cdb1f08137d2a7249509eca0c96d4a0b86c4
child 531789 9905f7082bedaa523f83f8d2cc67e1c28ff02157
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno
bugs1536126
milestone68.0a1
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
Bug 1536126 - don't enable RDD process on platforms without sandboxing. r=drno Landing for Jan Beich (jbeich@FreeBSD.org). Differential Revision: https://phabricator.services.mozilla.com/D30255
modules/libpref/init/StaticPrefList.h
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -1590,17 +1590,17 @@ VARCACHE_PREF(
   RelaxedAtomicBool, PREF_VALUE
 )
 #undef PREF_VALUE
 
 #if defined(XP_WIN) && !defined(_ARM64_)
 # define PREF_VALUE true
 #elif defined(XP_MACOSX)
 # define PREF_VALUE true
-#elif defined(XP_UNIX)
+#elif defined(XP_LINUX) && !defined(ANDROID)
 # define PREF_VALUE true
 #else
 # define PREF_VALUE false
 #endif
 VARCACHE_PREF(
   "media.rdd-process.enabled",
    MediaRddProcessEnabled,
   RelaxedAtomicBool, PREF_VALUE