Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 00c73058f19ed9d0be94742a782d49d72ca69ee2 https://github.com/WebKit/WebKit/commit/00c73058f19ed9d0be94742a782d49d72ca69ee2 Author: Vitor Roriz <vitor.ro...@apple.com> Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths: M Source/WebCore/page/LocalFrameViewLayoutContext.cpp Log Message: ----------- Cleanup LocalFrameViewLayoutContext calls to document https://bugs.webkit.org/show_bug.cgi?id=275181 rdar://129301712 Reviewed by Simon Fraser. We already have a document accessor defined in LocalFrameViewLayoutContext. At some points we call the accessor and at some points we call frame().document(). I think we can unify the behavior and let the compiler decide to inline it. * Source/WebCore/page/LocalFrameViewLayoutContext.cpp: (WebCore::LocalFrameViewLayoutContext::performLayout): (WebCore::LocalFrameViewLayoutContext::runOrScheduleAsynchronousTasks): (WebCore::LocalFrameViewLayoutContext::setNeedsLayoutAfterViewConfigurationChange): (WebCore::LocalFrameViewLayoutContext::scheduleLayout): (WebCore::LocalFrameViewLayoutContext::unscheduleLayout): (WebCore::LocalFrameViewLayoutContext::layoutTimerFired): (WebCore::LocalFrameViewLayoutContext::canPerformLayout const): (WebCore::LocalFrameViewLayoutContext::updateStyleForLayout): Canonical link: https://commits.webkit.org/279760@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes