-
Hiroyuki Ikezoe authored
On GTK changing gtk-enable-animation in a process doesn't affect in different processes for some reasons. So we take the same approach as what we did for OSX[1] that is when SetPrefersReducedMotionOverrideForTest is called we set the given value as a cache in the parent process and send a notification to system as if the value changed thus the notification kicks PBroser.ThemeChanged to update the cache in the content process, thus we can use the cache value on querying the corresponding value in the content process. [1] https://hg.mozilla.org/mozilla-central/rev/67a5acf7363d Differential Revision: https://phabricator.services.mozilla.com/D57260 --HG-- extra : moz-landing-system : lando
3b2739a1