Skip to content

Commit

Permalink
Build Fix for Use of undeclared identifier 'page'
Browse files Browse the repository at this point in the history
rdar://125741072

Reviewed by Simon Fraser.

ASSERT(m_page); should be called rather than ASSERT(page());

* Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp:
(WebCore::AsyncScrollingCoordinator::setScrollbarLayoutDirection):

Canonical link: https://commits.webkit.org/272448.847@safari-7618-branch
  • Loading branch information
Smackteo committed Apr 2, 2024
1 parent b790071 commit f9736e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ void AsyncScrollingCoordinator::stopAnimatedScroll(ScrollableArea& scrollableAre
void AsyncScrollingCoordinator::setScrollbarLayoutDirection(ScrollableArea& scrollableArea, UserInterfaceLayoutDirection scrollbarLayoutDirection)
{
ASSERT(isMainThread());
ASSERT(page());
ASSERT(m_page);
auto scrollingNodeID = scrollableArea.scrollingNodeID();
if (!scrollingNodeID)
return;
Expand Down

0 comments on commit f9736e1

Please sign in to comment.