aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-07-07 14:34:25 +0200
committerMs2ger <ms2ger@gmail.com>2015-07-07 14:34:25 +0200
commita666d5faed02d9ee90ca16e648a1ec0b813bc8c2 (patch)
tree360d65e3bb361434bb8d4e67d0551ccbbd8250f0
parent1618a9e73d662159ed36f35bca6ea36fa0e58d90 (diff)
downloadservo-a666d5faed02d9ee90ca16e648a1ec0b813bc8c2.tar.gz
servo-a666d5faed02d9ee90ca16e648a1ec0b813bc8c2.zip
Silence unused variable warnings in properties.rs.
-rw-r--r--components/style/properties.mako.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/components/style/properties.mako.rs b/components/style/properties.mako.rs
index 6b778808903..29bccc4c28b 100644
--- a/components/style/properties.mako.rs
+++ b/components/style/properties.mako.rs
@@ -440,12 +440,12 @@ pub mod longhands {
}
fn cascade_property_custom(computed_value: &computed_value::T,
- declaration: &PropertyDeclaration,
+ _declaration: &PropertyDeclaration,
style: &mut ComputedValues,
- inherited_style: &ComputedValues,
+ _inherited_style: &ComputedValues,
context: &computed::Context,
- seen: &mut PropertyBitField,
- cacheable: &mut bool) {
+ _seen: &mut PropertyBitField,
+ _cacheable: &mut bool) {
Arc::make_unique(&mut style.box_)._servo_display_for_hypothetical_box =
longhands::_servo_display_for_hypothetical_box::derive_from_display(
*computed_value,
@@ -2081,12 +2081,12 @@ pub mod longhands {
}
fn cascade_property_custom(computed_value: &computed_value::T,
- declaration: &PropertyDeclaration,
+ _declaration: &PropertyDeclaration,
style: &mut ComputedValues,
- inherited_style: &ComputedValues,
+ _inherited_style: &ComputedValues,
context: &computed::Context,
- seen: &mut PropertyBitField,
- cacheable: &mut bool) {
+ _seen: &mut PropertyBitField,
+ _cacheable: &mut bool) {
Arc::make_unique(&mut style.inheritedtext)._servo_text_decorations_in_effect =
longhands::_servo_text_decorations_in_effect::derive_from_text_decoration(
*computed_value,