RenderNamedFlowFragment::layerOwner cannot return null because regions create stacking contexts which create layers.
Created attachment 221741 [details] patch
Comment on attachment 221741 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=221741&action=review > Source/WebCore/rendering/RenderFlowThread.cpp:256 > for (auto iter = m_regionList.begin(), end = m_regionList.end(); iter != end; ++iter) > - if (RenderLayerModelObject* layerOwner = toRenderNamedFlowFragment(*iter)->layerOwner()) > - if (layerOwner->hasLayer() && layerOwner->layer()->hasCompositingDescendant()) > - return true; > + if (toRenderNamedFlowFragment(*iter)->layerOwner().layer()->hasCompositingDescendant()) > + return true; You should totally convert this loop to for-range style while you are here. > Source/WebCore/rendering/RenderLayer.cpp:6940 > + LayoutRect regionContentBox = toRenderBox(®ion->layerOwner())->contentBoxRect(); This can probably be: LayoutRect regionContentBox = toRenderBox(region->layerOwner()).contentBoxRect();
Created attachment 221855 [details] patch for landing
Created attachment 221859 [details] patch for landing
Comment on attachment 221859 [details] patch for landing Rejecting attachment 221859 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 221859, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Full output: http://webkit-queues.appspot.com/results/4584376553701376
Created attachment 221862 [details] patch for landing
Comment on attachment 221862 [details] patch for landing Clearing flags on attachment: 221862 Committed r162523: <http://trac.webkit.org/changeset/162523>