Bug 130171 - FontData::fontDataForCharacter can return a reference
Summary: FontData::fontDataForCharacter can return a reference
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-12 18:55 PDT by Myles C. Maxfield
Modified: 2014-03-12 19:10 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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....