Bug 130171

Summary: FontData::fontDataForCharacter can return a reference
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: Layout and RenderingAssignee: Myles C. Maxfield <mmaxfield>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Myles C. Maxfield 2014-03-12 18:55:21 PDT
Its return value is never NULL
Comment 1 Myles C. Maxfield 2014-03-12 18:58:25 PDT
Should verify that return m_ranges[0].fontData().get(); in SegmentedFontData::fontDataForCharacter doesn't go out of bounds
Comment 2 Myles C. Maxfield 2014-03-12 19:10:52 PDT
Perhaps this function can be gotten rid of wholesale....