[Webkit-unassigned] [Bug 205474] ASSERTION FAILED: hasLayer() in RenderLayer::enclosingOverflowClipLayer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 19 14:46:56 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=205474

--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 386144
  --> https://bugs.webkit.org/attachment.cgi?id=386144
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=386144&action=review

> Source/WebCore/rendering/RenderBoxModelObject.cpp:450
> +    RenderLayer* clipLayer = nullptr;
> +    if (hasLayer())
> +        clipLayer = layer()->enclosingOverflowClipLayer(ExcludeSelf);

Why not just this?
RenderLayer* clipLayer = hasLayer() ? layer()->enclosingOverflowClipLayer(ExcludeSelf) : nullptr

> Source/WebCore/rendering/RenderBoxModelObject.cpp:542
> +    RenderLayer* enclosingClippingLayer = nullptr;

Ditto.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191219/169736ef/attachment.htm>


More information about the webkit-unassigned mailing list