[webkit-changes] [WebKit/WebKit] b243d8: Fix compile error in ScrollingTreeFrameScrollingNo...
Jer Noble
noreply at github.com
Mon Oct 10 10:14:02 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b243d889a53c7ba8881e7a20586a812fec4674e2
https://github.com/WebKit/WebKit/commit/b243d889a53c7ba8881e7a20586a812fec4674e2
Author: Jer Noble <jer.noble at apple.com>
Date: 2022-10-10 (Mon, 10 Oct 2022)
Changed paths:
M Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h
Log Message:
-----------
Fix compile error in ScrollingTreeFrameScrollingNodeMac.mm when -Wthread-safety-analysis is enabled
https://bugs.webkit.org/show_bug.cgi?id=246238
rdar://100915503
Reviewed by Eric Carlson.
Mark `repositionScrollingLayers()` as requiring the same treeLock() as
`isScrollingSynchronizedWithMainThread()` to reassure the compiler that the lock is held when
`isScrollingSynchronizedWithMainThread()` is called by `repositionScrollingLayers()`
* Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h:
Canonical link: https://commits.webkit.org/255350@main
More information about the webkit-changes
mailing list