Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile error in ScrollingTreeFrameScrollingNodeMac.mm when -Wthread-safety-analysis is enabled #5156

Conversation

jernoble
Copy link
Contributor

@jernoble jernoble commented Oct 7, 2022

b243d88

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

939e5ec

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  πŸ§ͺ win
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-debug βœ… πŸ›  gtk βœ… πŸ›  wincairo
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-wk1
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch ❌ πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch-sim βœ… πŸ§ͺ mac-wk2-stress

@jernoble jernoble requested a review from cdumez as a code owner October 7, 2022 22:45
@jernoble jernoble self-assigned this Oct 7, 2022
@jernoble jernoble added Layout and Rendering For bugs with layout and rendering of Web pages. Other labels Oct 7, 2022
@jernoble
Copy link
Contributor Author

jernoble commented Oct 7, 2022

cq?

Copy link
Contributor

@eric-carlson eric-carlson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Oct 8, 2022
@jernoble jernoble added merge-queue Applied to send a pull request to merge-queue and removed merging-blocked Applied to prevent a change from being merged labels Oct 10, 2022
…ead-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
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/Fix-compile-error-in-ScrollingTreeFrameScrollingNodeMac-mm-when--Wthread-safety-analysis-is-enabled branch from 939e5ec to b243d88 Compare October 10, 2022 17:13
@webkit-early-warning-system webkit-early-warning-system merged commit b243d88 into WebKit:main Oct 10, 2022
@webkit-commit-queue
Copy link
Collaborator

Committed 255350@main (b243d88): https://commits.webkit.org/255350@main

Reviewed commits have been landed. Closing PR #5156 and removing active labels.

@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Layout and Rendering For bugs with layout and rendering of Web pages.
Projects
None yet
5 participants