зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1630676 - Fix some errors and formatting changes when updating rustc to 1.43.0-nightly (5d04ce67f 2020-02-13).
This commit is contained in:
Родитель
b9d1facf55
Коммит
7c7a9cf472
|
@ -390,7 +390,8 @@ macro_rules! sheet_set_methods {
|
|||
guard: &SharedRwLockReadGuard,
|
||||
) {
|
||||
if let Some(device) = device {
|
||||
self.invalidations.collect_invalidations_for(device, sheet, guard);
|
||||
self.invalidations
|
||||
.collect_invalidations_for(device, sheet, guard);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -437,7 +438,7 @@ macro_rules! sheet_set_methods {
|
|||
let collection = self.collection_for(&sheet, guard);
|
||||
collection.remove(&sheet)
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
impl<S> DocumentStylesheetSet<S>
|
||||
|
|
|
@ -80,7 +80,7 @@ macro_rules! computed_length_percentage_or_auto {
|
|||
generics::GenericLengthPercentageOrAuto::Auto => None,
|
||||
generics::GenericLengthPercentageOrAuto::LengthPercentage(ref lp) => {
|
||||
Some(lp.to_used_value(percentage_basis))
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,7 @@ macro_rules! computed_length_percentage_or_auto {
|
|||
Auto => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/// A computed type for `<length-percentage> | auto`.
|
||||
|
|
|
@ -61,7 +61,7 @@ macro_rules! system_font_methods {
|
|||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
const DEFAULT_SCRIPT_MIN_SIZE_PT: u32 = 8;
|
||||
|
|
Загрузка…
Ссылка в новой задаче