[webkit-changes] [WebKit/WebKit] 00c730: Cleanup LocalFrameViewLayoutContext calls to document
Vitor Roriz
noreply at github.com
Wed Jun 5 16:51:22 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 00c73058f19ed9d0be94742a782d49d72ca69ee2
https://github.com/WebKit/WebKit/commit/00c73058f19ed9d0be94742a782d49d72ca69ee2
Author: Vitor Roriz <vitor.roriz at 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
More information about the webkit-changes
mailing list