Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 454c90cee9d2b6ec3a1942ece4ddd047f50aeb3e
      
https://github.com/WebKit/WebKit/commit/454c90cee9d2b6ec3a1942ece4ddd047f50aeb3e
  Author: Simon Fraser <[email protected]>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/page/LocalFrameView.h
    M Source/WebCore/page/LocalFrameViewLayoutContext.cpp
    M Source/WebCore/page/LocalFrameViewLayoutContext.h
    M Source/WebCore/page/Page.cpp

  Log Message:
  -----------
  Move RenderLayer flushing, and updateCompositingLayers to be called from 
LocalFrameViewLayoutContext
https://bugs.webkit.org/show_bug.cgi?id=284304
rdar://141164372

Reviewed by Alan Baradlay.

RenderLayer flushing and updateCompositingLayers() are post-layout activities,
which are suited to live in LocalFrameViewLayoutContext.

No behavior change.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::updateLayout):
(WebCore::Document::implicitClose):
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::didLayout):
(WebCore::LocalFrameView::updateLayerPositionsAfterScrolling):
(WebCore::LocalFrameView::updateLayerPositionsAfterOverflowScroll):
(WebCore::LocalFrameView::startTrackingLayoutUpdates):
(WebCore::LocalFrameView::layoutUpdateCount):
(WebCore::LocalFrameView::startTrackingRenderLayerPositionUpdates):
(WebCore::LocalFrameView::renderLayerPositionUpdateCount):
(WebCore::LocalFrameView::updateCompositingLayersAfterLayout): Deleted.
(WebCore::LocalFrameView::updateCompositingLayersAfterLayoutIfNeeded): Deleted.
(WebCore::LocalFrameView::hasPendingUpdateLayerPositions const): Deleted.
(WebCore::LocalFrameView::flushUpdateLayerPositions): Deleted.
* Source/WebCore/page/LocalFrameView.h:
* Source/WebCore/page/LocalFrameViewLayoutContext.cpp:
(WebCore::LocalFrameViewLayoutContext::didLayout):
(WebCore::LocalFrameViewLayoutContext::flushUpdateLayerPositions):
(WebCore::LocalFrameViewLayoutContext::updateCompositingLayersAfterLayout):
(WebCore::LocalFrameViewLayoutContext::updateCompositingLayersAfterLayoutIfNeeded):
(WebCore::LocalFrameViewLayoutContext::needsLayout const):
* Source/WebCore/page/LocalFrameViewLayoutContext.h:
* Source/WebCore/page/Page.cpp:
(WebCore::Page::setPageScaleFactor):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to