mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Remove unused ScrollRootId::to_stacking_context_id.
This commit is contained in:
parent
ed3f53211c
commit
1c614aedd3
1 changed files with 0 additions and 5 deletions
|
@ -211,11 +211,6 @@ impl ScrollRootId {
|
||||||
pub fn fragment_type(&self) -> FragmentType {
|
pub fn fragment_type(&self) -> FragmentType {
|
||||||
FragmentType::from_usize(self.0 & 3)
|
FragmentType::from_usize(self.0 & 3)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
pub fn to_stacking_context_id(&self) -> StackingContextId {
|
|
||||||
StackingContextId(self.0)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The type of fragment that a stacking context represents.
|
/// The type of fragment that a stacking context represents.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue