Bug 225380

Summary: copy/paste error in Recorder::canAppendItemOfType
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: Layout and RenderingAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=152816
Attachments:
Description Flags
Patch none

Description Cameron McCormack (:heycam) 2021-05-04 21:02:41 PDT
https://webkit-search.igalia.com/webkit/rev/a221ff61ad355d85ae240e1313c5906779f00692/Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp#131

>         || type == ItemType::ApplyStrokePattern || type == ItemType::ApplyStrokePattern

One of these should presumably be ApplyFillPattern.
Comment 1 Wenson Hsieh 2021-05-04 21:03:56 PDT
Good catch.
Comment 2 Cameron McCormack (:heycam) 2021-05-04 21:45:31 PDT
Created attachment 427731 [details]
Patch
Comment 3 Cameron McCormack (:heycam) 2021-05-04 21:45:49 PDT
(Happy to add a test if needed.)
Comment 4 EWS 2021-05-05 15:30:41 PDT
Committed r277046 (237358@main): <https://commits.webkit.org/237358@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 427731 [details].
Comment 5 Radar WebKit Bug Importer 2021-05-05 15:31:15 PDT
<rdar://problem/77578785>