Bug 1497983 - Allow pref to be read of the main thread. r=dminor
authorJean-Yves Avenard <jyavenard@mozilla.com>
Thu, 11 Oct 2018 11:24:40 +0000
changeset 496476 07b8305bb7d444ba85a4fb77d9a5d13af0644f4e
parent 496475 172e411269552064ec3531a25623c9d402701a6f
child 496477 04fbac02c101394f6b344a695e81bdfb026151a1
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdminor
bugs1497983
milestone64.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 1497983 - Allow pref to be read of the main thread. r=dminor Differential Revision: https://phabricator.services.mozilla.com/D8359
modules/libpref/init/StaticPrefList.h
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -1118,17 +1118,17 @@ VARCACHE_PREF(
   RelaxedAtomicBool, true
 )
 #endif
 
 #if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX)
 VARCACHE_PREF(
   "media.ffmpeg.low-latency.enabled",
    MediaFfmpegLowLatencyEnabled,
-  bool, false
+  RelaxedAtomicBool, false
 )
 #endif
 
 #ifdef MOZ_WMF
 
 VARCACHE_PREF(
   "media.wmf.enabled",
    MediaWmfEnabled,