mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove unused code from a bunch of crates
This commit is contained in:
parent
8b6ed3d182
commit
e64de8d90a
8 changed files with 6 additions and 74 deletions
|
@ -421,7 +421,7 @@ impl<'a, 'b: 'a> Cascade<'a, 'b> {
|
|||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn apply_declaration<Phase: CascadePhase>(
|
||||
fn apply_declaration(
|
||||
&mut self,
|
||||
longhand_id: LonghandId,
|
||||
declaration: &PropertyDeclaration,
|
||||
|
@ -544,7 +544,7 @@ impl<'a, 'b: 'a> Cascade<'a, 'b> {
|
|||
// FIXME(emilio): We should avoid generating code for logical
|
||||
// longhands and just use the physical ones, then rename
|
||||
// physical_longhand_id to just longhand_id.
|
||||
self.apply_declaration::<Phase>(longhand_id, &*declaration);
|
||||
self.apply_declaration(longhand_id, &*declaration);
|
||||
}
|
||||
|
||||
if Phase::is_early() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue