| Summary: | Avoid some null pointer dereferences in PlatformCALayer::drawLayerContents. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> | ||||||||
| Component: | Layout and Rendering | Assignee: | Cameron McCormack (:heycam) <heycam> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bfulgham, simon.fraser, thorton, webkit-bug-importer, zalan | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Local Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Cameron McCormack (:heycam)
2021-04-29 21:48:40 PDT
Created attachment 427398 [details]
Patch
Comment on attachment 427398 [details]
Patch
Will split this into two patches.
Created attachment 427453 [details]
Patch
Comment on attachment 427453 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427453&action=review > Source/WebCore/ChangeLog:13 > + setIsCALayerContext and setIsAcceleratedContext both assume (and assert) > + that the GraphicsContext has a platform context directly in m_data, > + but m_data is null when the GraphicsContext a display list recording > + context. These calls are unnecessary when not working with a > + CG-backed GraphicsContext, so just skip them in this case. This should probably mention DOM Rendering in GPUP Created attachment 427454 [details]
Patch
Committed r276866 (237212@main): <https://commits.webkit.org/237212@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427454 [details]. |