mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Pass some 48-bytes closures by references instead of by value.
This commit is contained in:
parent
ed5485ed18
commit
837cb6ddb2
3 changed files with 8 additions and 8 deletions
|
@ -333,7 +333,7 @@
|
|||
let quirks_mode = context.quirks_mode;
|
||||
::properties::substitute_variables_${property.ident}(
|
||||
&declared_value, &custom_props,
|
||||
|value| {
|
||||
&mut |value| {
|
||||
if let Some(ref mut cascade_info) = *cascade_info {
|
||||
cascade_info.on_cascade_property(&declaration,
|
||||
&value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue