stylo: Use font metrics provider as a cache for font size results

This commit is contained in:
Manish Goregaokar 2017-04-04 11:11:27 -07:00 committed by Manish Goregaokar
parent e402c72d0e
commit 2febe7ccde
8 changed files with 60 additions and 24 deletions

View file

@ -19547,6 +19547,8 @@ pub mod root {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gfxMissingFontRecorder([u8; 0]);
pub const kPresContext_DefaultVariableFont_ID: u8 = 0;
pub const kPresContext_DefaultFixedFont_ID: u8 = 1;
#[repr(C)]
#[derive(Debug)]
pub struct nsRootPresContext {