Bug 161133

Summary: Make RenderMathToken::m_mathVariantGlyph an Optional<GlyphData> to encode its dirtiness
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: MathMLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description Frédéric Wang (:fredw) 2016-08-24 03:00:09 PDT
The glyph to draw special mathvariant is handled via two members:

GlyphData m_mathVariantGlyph;
bool m_mathVariantGlyphDirty;

They should be merged into a single Optional<GlyphData> where Nullopt means that the glyph is dirty.