diff --git a/layout/style/ServoBindings.toml b/layout/style/ServoBindings.toml index e49c09ec51ae..18ed06b669de 100644 --- a/layout/style/ServoBindings.toml +++ b/layout/style/ServoBindings.toml @@ -24,7 +24,6 @@ headers = [ "mozilla/dom/ChildIterator.h", "mozilla/dom/NameSpaceConstants.h", "mozilla/LookAndFeel.h", - "mozilla/StaticPrefsAll.h", "mozilla/GeckoBindings.h", "mozilla/ServoBindings.h", "mozilla/ComputedStyle.h", @@ -161,7 +160,6 @@ whitelist-vars = [ "mozilla::detail::gGkAtoms", "mozilla::detail::kGkAtomsArrayOffset", "mozilla::profiler::detail::RacyFeatures::sActiveAndFeatures", - "mozilla::StaticPrefs::.*", ] # TODO(emilio): A bunch of types here can go away once we generate bindings and # structs together. @@ -202,7 +200,6 @@ whitelist-types = [ "mozilla::OriginFlags", "mozilla::PropertyStyleAnimationValuePair", "mozilla::ServoTraversalFlags", - "mozilla::StaticPrefs", "mozilla::StyleShapeRadius", "mozilla::StyleGrid.*", "mozilla::UpdateAnimationsTasks", diff --git a/modules/libpref/init/StaticPrefListBegin.h b/modules/libpref/init/StaticPrefListBegin.h index 942dbca628d0..33d2f05de5df 100644 --- a/modules/libpref/init/StaticPrefListBegin.h +++ b/modules/libpref/init/StaticPrefListBegin.h @@ -15,8 +15,7 @@ namespace mozilla { namespace StaticPrefs { // For mirrored prefs we generate an extern variable declaration and three -// getter declarations/definitions. The extern declaration of the variable is -// necessary for bindgen to see it and generate Rust bindings. +// getter declarations/definitions. #define NEVER_PREF(name, cpp_type, default_value) #define ALWAYS_PREF(name, base_id, full_id, cpp_type, default_value) \ extern cpp_type sVarCache_##full_id; \