mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #6571 - Ms2ger:warnings, r=SimonSapin
Silence unused variable warnings in properties.rs. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6571) <!-- Reviewable:end -->
This commit is contained in:
commit
8b9f7d7764
1 changed files with 8 additions and 8 deletions
|
@ -440,12 +440,12 @@ pub mod longhands {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cascade_property_custom(computed_value: &computed_value::T,
|
fn cascade_property_custom(computed_value: &computed_value::T,
|
||||||
declaration: &PropertyDeclaration,
|
_declaration: &PropertyDeclaration,
|
||||||
style: &mut ComputedValues,
|
style: &mut ComputedValues,
|
||||||
inherited_style: &ComputedValues,
|
_inherited_style: &ComputedValues,
|
||||||
context: &computed::Context,
|
context: &computed::Context,
|
||||||
seen: &mut PropertyBitField,
|
_seen: &mut PropertyBitField,
|
||||||
cacheable: &mut bool) {
|
_cacheable: &mut bool) {
|
||||||
Arc::make_unique(&mut style.box_)._servo_display_for_hypothetical_box =
|
Arc::make_unique(&mut style.box_)._servo_display_for_hypothetical_box =
|
||||||
longhands::_servo_display_for_hypothetical_box::derive_from_display(
|
longhands::_servo_display_for_hypothetical_box::derive_from_display(
|
||||||
*computed_value,
|
*computed_value,
|
||||||
|
@ -2081,12 +2081,12 @@ pub mod longhands {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cascade_property_custom(computed_value: &computed_value::T,
|
fn cascade_property_custom(computed_value: &computed_value::T,
|
||||||
declaration: &PropertyDeclaration,
|
_declaration: &PropertyDeclaration,
|
||||||
style: &mut ComputedValues,
|
style: &mut ComputedValues,
|
||||||
inherited_style: &ComputedValues,
|
_inherited_style: &ComputedValues,
|
||||||
context: &computed::Context,
|
context: &computed::Context,
|
||||||
seen: &mut PropertyBitField,
|
_seen: &mut PropertyBitField,
|
||||||
cacheable: &mut bool) {
|
_cacheable: &mut bool) {
|
||||||
Arc::make_unique(&mut style.inheritedtext)._servo_text_decorations_in_effect =
|
Arc::make_unique(&mut style.inheritedtext)._servo_text_decorations_in_effect =
|
||||||
longhands::_servo_text_decorations_in_effect::derive_from_text_decoration(
|
longhands::_servo_text_decorations_in_effect::derive_from_text_decoration(
|
||||||
*computed_value,
|
*computed_value,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue