Bug 236521 - [GTK][WPE] Avoid mapping attributes when the vector is empty in createImage
Summary: [GTK][WPE] Avoid mapping attributes when the vector is empty in createImage
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: ANGLE (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alejandro G. Castro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-11 11:07 PST by Alejandro G. Castro
Modified: 2022-02-14 05:06 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.41 KB, patch)
2022-02-11 11:29 PST, Alejandro G. Castro
no flags Details | Formatted Diff | Diff

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