[Webkit-unassigned] [Bug 136327] New: Initialization for some member variable of FontPlatformData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 27 18:46:10 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=136327

           Summary: Initialization for some member variable of
                    FontPlatformData
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: byeongha.cho at samsung.com


There are initialization missing on FontPlatformData::FontPlatformData(const FontPlatformData& other, float size).

This function is located on FontPlatformDataFreeType.cpp.

I think m_fallbacks and m_scaledFont should be initialized on this creator.

Because they are used as condition on FontPlatformData::operator= and FontPlatformData() is copying other to itself.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list