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 489098 07b8305bb7d444ba85a4fb77d9a5d13af0644f4e
parent 489097 172e411269552064ec3531a25623c9d402701a6f
child 489099 04fbac02c101394f6b344a695e81bdfb026151a1
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewersdminor
bugs1497983
milestone64.0a1
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,