mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove unused code from gfx and layout crates
This commit is contained in:
parent
8dc7a25893
commit
3efc5e59bc
9 changed files with 2 additions and 222 deletions
|
@ -280,10 +280,6 @@ impl<'a> TextRun {
|
|||
self.font_metrics.ascent
|
||||
}
|
||||
|
||||
pub fn descent(&self) -> Au {
|
||||
self.font_metrics.descent
|
||||
}
|
||||
|
||||
pub fn advance_for_range(&self, range: &Range<ByteIndex>) -> Au {
|
||||
if range.is_empty() {
|
||||
return Au(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue