Bug 236521

Summary: [GTK][WPE] Avoid mapping attributes when the vector is empty in createImage
Product: WebKit Reporter: Alejandro G. Castro <alex>
Component: ANGLEAssignee: Alejandro G. Castro <alex>
Status: RESOLVED FIXED    
Severity: Normal CC: clord, dino, kbr, kkinnunen, webkit-bug-importer, zdobersek
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Alejandro G. Castro 2022-02-11 11:07:33 PST
The function calls the map of the vector when it is empty and tries to use the result, refactor it to make it clear that in this situation it is empty.
Comment 1 Alejandro G. Castro 2022-02-11 11:29:53 PST
Created attachment 451731 [details]
Patch
Comment 2 EWS 2022-02-14 05:05:19 PST
Committed r289731 (247216@main): <https://commits.webkit.org/247216@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 451731 [details].
Comment 3 Radar WebKit Bug Importer 2022-02-14 05:06:16 PST
<rdar://problem/88899147>