diff --git a/dom/workers/RuntimeService.cpp b/dom/workers/RuntimeService.cpp index 4acace88a122..bf20b057bbb4 100644 --- a/dom/workers/RuntimeService.cpp +++ b/dom/workers/RuntimeService.cpp @@ -2052,12 +2052,14 @@ RuntimeService::Init() NS_FAILED(Preferences::RegisterCallbackAndCall( \ WorkerPrefChanged, \ name, \ - reinterpret_cast(WORKERPREF_##NAME))) || + reinterpret_cast(WORKERPREF_##NAME), \ + Preferences::ExactMatch)) || #define WORKER_PREF(name, callback) \ NS_FAILED(Preferences::RegisterCallbackAndCall( \ callback, \ name, \ - nullptr)) || + nullptr, \ + Preferences::ExactMatch)) || #include "WorkerPrefs.h" #undef WORKER_SIMPLE_PREF #undef WORKER_PREF