Bug 200379

Summary: Remove constructors and operators of FontPlatformData defined only for Freetype
Product: WebKit Reporter: Konstantin Tokarev <annulen>
Component: WebCore Misc.Assignee: Konstantin Tokarev <annulen>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, commit-queue, ews-watchlist, fred.wang, mcatanzaro, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Konstantin Tokarev
Reported 2019-08-01 20:40:20 PDT
These methods only make maintenance harder, as all data fields are trivially copyable. Constructors generated by compiler should be used instead.
Attachments
Patch (3.21 KB, patch)
2019-08-01 20:41 PDT, Konstantin Tokarev
no flags
Konstantin Tokarev
Comment 1 2019-08-01 20:41:43 PDT
Carlos Garcia Campos
Comment 2 2019-08-02 01:34:49 PDT
Comment on attachment 375388 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375388&action=review > Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp:-155 > - I think we only needed this when we had m_fallbacks and m_harfBuzzFace members that we had to reset on copy.
WebKit Commit Bot
Comment 3 2019-08-02 03:20:54 PDT
Comment on attachment 375388 [details] Patch Clearing flags on attachment: 375388 Committed r248152: <https://trac.webkit.org/changeset/248152>
WebKit Commit Bot
Comment 4 2019-08-02 03:20:56 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2019-08-02 03:21:17 PDT
Note You need to log in before you can comment on or make changes to this bug.