diff options
Diffstat (limited to 'components/style/properties/gecko.mako.rs')
-rw-r--r-- | components/style/properties/gecko.mako.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index ddb4f627aad..a20be9e9f3a 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -2871,7 +2871,7 @@ fn static_assert() { Gecko_AppendWillChange(&mut self.gecko, feature.0.as_ptr()); } - if let Ok(prop_id) = PropertyId::parse(feature.0.to_string().into()) { + if let Ok(prop_id) = PropertyId::parse(&feature.0.to_string()) { match prop_id.as_shorthand() { Ok(shorthand) => { for longhand in shorthand.longhands() { |