As a follow up from https://bugs.webkit.org/show_bug.cgi?id=120397, make RenderRegion::generatingElement() return a reference instead of pointer since for regions, generatingNode cannot return 0.
RenderRegionSet derives from RenderRegion. Is generatingElement() always not NULL for RenderRegionSet as well? I'm thinking not.
Created attachment 211030 [details] patch
(In reply to comment #1) > RenderRegionSet derives from RenderRegion. > Is generatingElement() always not NULL for RenderRegionSet as well? I'm thinking not. At this moment, RenderMultiColumnSet -> RenderRegionSet -> RenderRegion and RenderMultiColumnSet is created as an anonymous block. Therefore, for this type of region, generatingElement() can return NULL. Closing this bug as invalid.