Do GrpahicsContext and EventRegion clipping-related save/restore via RAII objects
Created attachment 441802 [details] Patch
Comment on attachment 441802 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=441802&action=review > Source/WebCore/rendering/RenderLayer.cpp:3846 > + GraphicsContextStateSaver stateSaver(context, false); > + EventRegionContextStateSaver eventRegionStateSaver(localPaintingInfo.eventRegionContext); This seems bit error-prone. Maybe we should have another class (ClipStateSaver?) that owns both of these?
Committed r284684 (243404@main): <https://commits.webkit.org/243404@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 441802 [details].
<rdar://problem/84550921>