diff --git a/components/style/values/specified/svg_path.rs b/components/style/values/specified/svg_path.rs index 5e3edc2d68d..a443a443326 100644 --- a/components/style/values/specified/svg_path.rs +++ b/components/style/values/specified/svg_path.rs @@ -614,6 +614,7 @@ impl IsAbsolute { /// Return Yes if value is true. Otherwise, return No. #[inline] + #[cfg(feature = "gecko")] fn new(value: bool) -> Self { if value { IsAbsolute::Yes