diff --git a/gfx/thebes/gfxPrefs.h b/gfx/thebes/gfxPrefs.h index 9eae349a199b..474904295486 100644 --- a/gfx/thebes/gfxPrefs.h +++ b/gfx/thebes/gfxPrefs.h @@ -195,9 +195,6 @@ class gfxPrefs final { CopyPrefValue(&mValue, aOutValue); } void SetCachedValue(const GfxPrefValue& aOutValue) override { - // This is only used in non-XPCOM processes. - MOZ_ASSERT(!IsPrefsServiceAvailable()); - T newValue; CopyPrefValue(&aOutValue, &newValue); diff --git a/modules/libpref/components.conf b/modules/libpref/components.conf index 6f08e4e50e5e..453b2a1d8f40 100644 --- a/modules/libpref/components.conf +++ b/modules/libpref/components.conf @@ -18,7 +18,7 @@ Classes = [ 'type': 'mozilla::Preferences', 'headers': ['mozilla/Preferences.h'], 'constructor': 'mozilla::Preferences::GetInstanceForService', - 'processes': ProcessSelector.ALLOW_IN_RDD_AND_SOCKET_PROCESS, + 'processes': ProcessSelector.ALLOW_IN_GPU_RDD_AND_SOCKET_PROCESS, }, { 'cid': '{064d9cee-1dd2-11b2-83e3-d25ab0193c26}',