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   

Myles C. Maxfield
Reported 2014-03-12 18:55:21 PDT
Its return value is never NULL
Attachments
Myles C. Maxfield
Comment 1 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
Myles C. Maxfield
Comment 2 2014-03-12 19:10:52 PDT
Perhaps this function can be gotten rid of wholesale....
Note You need to log in before you can comment on or make changes to this bug.