Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e19532317917b436af82190db2c62e3fe92d8aa9
      
https://github.com/WebKit/WebKit/commit/e19532317917b436af82190db2c62e3fe92d8aa9
  Author: Antti Koivisto <[email protected]>
  Date:   2026-10-12 (Mon, 12 Oct 2026)

  Changed paths:
    M Source/WebCore/rendering/RenderBlockFlow.cpp
    M Source/WebCore/rendering/RenderBlockFlow.h
    M Source/WebCore/rendering/RenderBlockFlowInlines.h

  Log Message:
  -----------
  [IFC] Make RenderBlockFlow::m_lineLayout a plain unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=327133
rdar://problem/189734823

Reviewed by Alan Baradlay.

The Variant no longer has a legacy alternative. Resetting the unique_ptr nulls 
it before ~LineLayout runs, so
inlineLayout() still returns null during destruction.

* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::setChildrenInline):
(WebCore::RenderBlockFlow::invalidateLineLayout):
(WebCore::RenderBlockFlow::layoutInlineContent):
(WebCore::RenderBlockFlow::tryComputeIntrinsicLogicalWidthsUsingInlinePath):
* Source/WebCore/rendering/RenderBlockFlow.h:
(WebCore::RenderBlockFlow::inlineLayout const):
(WebCore::RenderBlockFlow::inlineLayout):
* Source/WebCore/rendering/RenderBlockFlowInlines.h:
(WebCore::RenderBlockFlow::hasInlineLayout const): Deleted.

Canonical link: https://commits.webkit.org/323433@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to