Bug 182685

Summary: CanvasRenderingContext2DBase: use CanvasBase more extensively
Product: WebKit Reporter: Zan Dobersek <zan>
Component: CanvasAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, aperez, cdumez, clopez, clord, commit-queue, dino, esprehn+autocc, ews-watchlist, ggaren, gyuyoung.kim, sabouhallawa, simon.fraser, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 182503    
Bug Blocks: 183720, 182686    
Attachments:
Description Flags
WIP patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description Zan Dobersek 2018-02-11 23:27:11 PST
In CanvasRenderingContext2DBase, instead of downcasting the CanvasBase object to HTMLCanvasElement, call CanvasBase methods introduced in bug #182503, making it possible for OffscreenCanvas to leverage this class properly.
Comment 1 Zan Dobersek 2018-02-11 23:28:47 PST
Created attachment 333582 [details]
WIP patch

Depends on changes in bug #182503.
Comment 2 Zan Dobersek 2018-03-01 01:48:02 PST
Created attachment 334802 [details]
Patch

Reviewable, but still depends on bug #182503.
Comment 3 Chris Lord 2019-10-01 04:17:36 PDT
Created attachment 379890 [details]
Patch
Comment 4 Chris Lord 2019-10-10 02:58:14 PDT
Created attachment 380621 [details]
Patch
Comment 5 Chris Lord 2019-10-17 02:34:05 PDT
Created attachment 381184 [details]
Patch
Comment 6 Chris Lord 2019-11-01 02:35:02 PDT
Created attachment 382568 [details]
Patch
Comment 7 Adrian Perez 2019-11-01 04:08:17 PDT
Comment on attachment 382568 [details]
Patch

Patch LGTM. Let's wait until all the EWS bots pass before setting cq+ :-)
Comment 8 WebKit Commit Bot 2019-11-01 05:55:35 PDT
Comment on attachment 382568 [details]
Patch

Clearing flags on attachment: 382568

Committed r251914: <https://trac.webkit.org/changeset/251914>
Comment 9 WebKit Commit Bot 2019-11-01 05:55:37 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Radar WebKit Bug Importer 2019-11-01 05:56:16 PDT
<rdar://problem/56814353>