[Webkit-unassigned] [Bug 219164] [LFC][Integration] Remove ensureLineBoxes call from RenderedPosition constructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 20 07:34:52 PST 2020


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

zalan <zalan at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #414673|review?                     |review+
              Flags|                            |

--- Comment #3 from zalan <zalan at apple.com> ---
Comment on attachment 414673
  --> https://bugs.webkit.org/attachment.cgi?id=414673
patch

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

> Source/WebCore/dom/Position.cpp:-1378
> -void Position::ensureLineBoxes() const
> -{
> -    auto node = deprecatedNode();
> -    if (!node)
> -        return;
> -    auto renderer = node->renderer();
> -    if (!renderer)
> -        return;
> -    auto* parent = renderer->parent();
> -    if (is<RenderBlockFlow>(parent))
> -        downcast<RenderBlockFlow>(*parent).ensureLineBoxes();
> -}
> -

Nice!

-- 
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/20201120/e225572f/attachment.htm>


More information about the webkit-unassigned mailing list